Subject: [libssh2] #307: keyboard auth promt text always contains nulls

[libssh2] #307: keyboard auth promt text always contains nulls

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Sun, 07 Jun 2015 13:44:39 -0000

#307: keyboard auth promt text always contains nulls
----------------------+--------------------
 Reporter: nyaknyan | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone: 1.4.3
Component: API | Version: 1.5.0
 Keywords: | Blocked By:
   Blocks: |
----------------------+--------------------
 Hello.

 When keyboard callback is called by
 libssh2_userauth_keyboard_interactive() callback has argument const
 LIBSSH2_USERAUTH_KBDINT_PROMPT *prompts
 And prompts[i].text is always filled with nulls, whereas prompts[i].length
 set correctly.
 prompts[i].text should conatin prompt text.
 I looked into source, in src/uaseraut.c line 1536 prompts[i].text is only
 allocated, i couldn't find any copying data to it, looks like you forgot
 memcpy here

 And unrelated: registration confirm email from this bugtracker goes to
 spam in gmail

-- 
Ticket URL: <https://trac.libssh2.org/ticket/307>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-06-07