Closed
Description
by glyn.normington:
It is possible to subvert the behaviour of system packages by overwriting their variables. For instance, it is possible to set the value of os.ErrPermission. This should not be allowed as it may cause a security exposures and break existing contracts. See this for an example: http://play.golang.org/p/PQPr9jcLqU