Subject: Question about kex.c:1868

Question about kex.c:1868

From: Steven Dake <sdake_at_redhat.com>
Date: Sun, 11 Mar 2012 23:18:13 -0700

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
Received on 2012-03-12