]> granicus.if.org Git - sudo/commit
Check for sudo_ldap_result_last_search() returning NULL. This can't
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 26 Oct 2016 19:49:05 +0000 (13:49 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 26 Oct 2016 19:49:05 +0000 (13:49 -0600)
commita40110756483b66ec69cd0e204d54afb62a65777
treeaecaff5f8d0c40f7e0f667f2f9b3ddddcc37a053
parent5a7936209ef2bfcd2d6006b1a370c597e8cddc02
Check for sudo_ldap_result_last_search() returning NULL.  This can't
happen in practice because we always call sudo_ldap_result_add_search()
first which guarantees there is a result to be found.
Quiets a PVS-Studio warning.
plugins/sudoers/ldap.c