CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2016/10/05 22:39:30

Modified files:
        sys/kern       : kern_pledge.c 

Log message:
In pledge_namei_wlpath() if resolvpath() errors out early it will not
set variables that will be later used as the size argument to
free(NULL calls.  This should be harmless as free returns early if the
address is NULL without checking the size.  Initialise these variables
before the call to ensure they are never passed to another function
uninitialised.

ok tedu@ millert@ deraadt@

Reply via email to