On 2010-10-05 12:02, Simon Josefsson wrote:
> Tommy Lindgren<tommy.lindgren_at_gmail.com> writes:
>
>> The function is always returning LIBSSH2_ERROR_NONE. I'm not sure if
>> it should returning anything else? (Perhaps if the malloc fails? Other
>> API functions don't seem to do this though.)
>
> It needs to handle memory allocation errors and return
> LIBSSH2_ERROR_ALLOC when it happens.
OK. Updated patch attached.
Regards,
Tommy
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel