Hi,

Not entirely sure how this code snippet is supposed to work, but is it
possible that the following could happen:

method_type = LIBSSH2_METHOD_LANG_CS or LANG_SC

(this sets mlist to NULL)

mlist passed in as NULL to 3rd parameter of kex_get_method_by_name
resulting in segfault from null dereference?

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

Reply via email to