void irsock_cleanup(void)
{
	sock_unregister(PF_IRDA);
	proto_unregister(&irda_proto);
}

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.