Archive Index
This month's Index
|
Subject: [libssh2] [ libssh2-Bugs-1878059 ] libssh2_scp_recv fails on large files
[libssh2] [ libssh2-Bugs-1878059 ] libssh2_scp_recv fails on large files
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 23 Jan 2008 04:27:55 -0800
Bugs item #1878059, was opened at 2008-01-23 12:27
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
Upon investigation, the problem lies in libssh2 490 of src/scp.c (in CVS):
session->scpRecv_size = strtol(p, &e, 10);
This returns a ERANGE error as 2,719,984,337 is more than the 2,147,483,647 limit of a signed integer.
Is there any way to get the library to support files larger than this limit? I'm guessing it'll be more involved than changing the data type to long long and using strtoll?
----------------------------------------------------------------------
You can respond by visiting:
-------------------------------------------------------------------------
|