Daniel Stenberg wrote:
>> Also, I don't think that libssh2 needs to validate programmer input. If 
>> someone passes a NULL pointer to a function that is really an error, and 
>> they will then have a problem sooner or later anyway.
>
> Is it possibly so that we use that function internally somewhere with a 
> (possibly) NULL argument?

If yes, then that's what need to be fixed. I suspect that Coverity
just notices that it is unchecked user input though. The function is
called only in example/ssh2_echo.c and example/ssh2_exec.c.


//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to