cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: small patches for ssh (Daniel Stenberg)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 25 Dec 2011 19:34:16 +0100 (CET)

On Sat, 24 Dec 2011, Ellié Computing Open Source Program wrote:

> new_readdir_line = realloc(sshc->readdir_line,
> sshc->readdir_totalLen + 4 +
> sshc->readdir_len);
>
> at line 1890, the total length “sshc->readdir_totalLen” is not updated...
> hence it worked with the PATH_MAX value... better than that simply add the
> line:

> sshc->readdir_totalLen += 4 + sshc->readdir_len;

Oh, right. To be sure I don't misunderstand, can you post us a proper patch
with this change so that it gets done on the correct place?

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-25