https://bugzilla.mindrot.org/show_bug.cgi?id=1956

--- Comment #5 from Iain Morgan <[email protected]> ---
Created attachment 2209
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2209&action=edit
Check for argv[0] == NULL before strcasecmp()

I finally got some time to look at this in more detail. :-)

Checking whether argv[0] == NULL just before the strcasecmp() statement
has the advantage that the user will receive an "Invalid command"
response. That would seem to be more consistent.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to