#267: file_read_publickey access violation
-------------------------+-------------------------------------------------
  Reporter:  wimvdh      |      Owner:
      Type:  defect      |     Status:  new
  Priority:  blocker     |  Milestone:  1.4.3
 Component:  SFTP        |    Version:  1.4.2
Resolution:              |   Keywords:  file_read_publickey access
Blocked By:              |  violation sp1 crash
                         |     Blocks:
-------------------------+-------------------------------------------------

Comment (by wimvdh):

 The -1 needs to be removed:

 if ((sp2 = memchr(sp1, ' ', pubkey_len - (sp1 - pubkey))) == NULL) {

-- 
Ticket URL: <https://trac.libssh2.org/ticket/267#comment:1>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients

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

Reply via email to