[krbdev.mit.edu #8661] ksu segfaults when argc == 0

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Tue Apr 24 18:13:51 EDT 2018


You're right; I thought I checked for prior uses but I guess I missed 
them.  Those uses of argv[0] are conditional and shouldn't actually 
cause null dereferences if argv[0] is NULL, but given that they are 
there, the check should be moved upwards.


More information about the krb5-bugs mailing list