]> git.ipfire.org Git - thirdparty/krb5.git/commit
Check for zero argc in ksu 769/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 24 Apr 2018 18:31:35 +0000 (14:31 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 24 Apr 2018 18:31:35 +0000 (14:31 -0400)
commitc5b0a998d6349f8c90821a347db5666aed0e50eb
tree6891f195b7fc68267bc18f4c539d3808f438f2b2
parent6afa8b4abf8f7c5774d03e6b15ee7288ad68d725
Check for zero argc in ksu

Most programs in the tree will perform a null dereference when argc is
zero, but as a setuid program ksu should be extra careful about memory
errors, even if this one is harmless.  Check and exit with status 1
immediately.

ticket: 8661
src/clients/ksu/main.c