openssh-portable
openssh-portable copied to clipboard
Do proper error handling of strtonum
Checking for an error string is the proper step, rather than checking for 0. Have an error string for consistency.
@daztucker Fixed!
I've applied the cast change, but as I said above I do not see the need for the rest of this change since the existing error check is unambiguous. Can you give an example of when the existing code does the incorrect thing?
You did not address my previous comment: " I do not see the need for the rest of this change since the existing error check is unambiguous. Can you give an example of when the existing code does the incorrect thing?"