]> granicus.if.org Git - sudo/commit
Handle sudo_get_grlist() returning NULL which can happen if
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Feb 2015 18:17:24 +0000 (11:17 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Feb 2015 18:17:24 +0000 (11:17 -0700)
commitb727d4309c2932fca130c9a44c858cdaaa96dabd
tree820cffa6cd2a48a65382ba5bde476c84562e59d0
parent6d71b488b607c79fb49f8d14f22aedbf1771f6ba
Handle sudo_get_grlist() returning NULL which can happen if
getgrouplist() fails even after allocating the appropriate amount
of memory.  From Stephane Chazelas
plugins/sudoers/set_perms.c