]> granicus.if.org Git - sudo/commit
If sudo_debug_register() fails return SUDO_DEBUG_INSTANCE_INITIALIZER,
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Jan 2015 17:08:41 +0000 (10:08 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 21 Jan 2015 17:08:41 +0000 (10:08 -0700)
commit2188c83a20b2c18f02d085e224a0cefe1dfcf487
tree1075a32386fcff90914e537e79d23b43b936486c
parent721cab85e7b947c31ea08c205b57dd63de92bdab
If sudo_debug_register() fails return SUDO_DEBUG_INSTANCE_INITIALIZER,
not -1.  Otherwise we could end up setting the instance to -1 which
is invalid.
lib/util/sudo_debug.c