Displaying 20 results from an estimated 8000 matches similar to: "[Bug 73] New: sftp segfaults on an attempt to up/download a nonexistent file"
2003 Oct 30
2
sftp client reget reput
we have implemented this function for 3.1p1, and have been using it in
production sense may 2002. The patch has been ported to 3.7.1p2, we have
been using it in 3.7.1p2 for awhile, if anyone is interested, here it is.
This is the same patch David Bradford talked about on 2002-06-05
Regards,
Greg Hayes
diff -u -r openssh-3.7.1p2/sftp-client.c openssh-3.7.1p2_sftp/sftp-client.c
---
2002 Jan 18
1
[Bug 73] sftp segfaults on an attempt to up/download a nonexistent file
http://bugzilla.mindrot.org/show_bug.cgi?id=73
------- Additional Comments From djm at mindrot.org 2002-01-19 09:38 -------
Are you sure it is not your glob() implementation that is incorrect here? sftp
relies on glob to return non-zero (i.e. GLOB_NOMATCH) when no files are matched.
This works correctly on Linux, Solaris and OpenBSD.
------- You are receiving this mail because: -------
2003 Oct 01
1
3.7.1p2 sftp recurse patch
This patch is against OpenSSH 3.7.1p2 sources. It adds recursive
(directory) downloading and uploading. Criticism/suggestions welcome.
I would imagine the time official support is added, recursive operations
will be handled on a per-command basis as a flag as opposed to a global
toggle command (such as get -r)?
diff -ru openssh-3.7.1p2/sftp-int.c openssh-3.7.1p2-patched/sftp-int.c
---
2006 May 15
0
[PATCH 7/12] bugfix: openssh-4.3p2
There are several memory management bugs here. First, the variable tmp
is allocated by infer_path. In one path this allocating function is
called again on the same variable without freeing the first instance.
In another path the variable is just not freed. The fix is to add the
xfree before the second call to infer_path and to move the existing
xfree to cover both paths (in one case this is on
2011 Mar 04
2
remote DoS in sftp via crafted glob expressions (CVE-2010-4755)
Hi folks.
We were made aware of a MITRE CVE assignment on OpenSSH for a remote DoS
in sftp, described as:
The (1) remote_glob function in sftp-glob.c and the (2) process_put
function in sftp.c in OpenSSH 5.8 and earlier, as used in FreeBSD 7.3
and 8.1, NetBSD 5.0.2, OpenBSD 4.7, and other products, allow remote
authenticated users to cause a denial of service (CPU and memory
consumption) via
2008 Jul 21
2
sftp needs a long time for sending a filelist
Hello all
Im using sftp 1:4.7p1-8ubuntu1.2
in a batchjob
Ive noticed that sftp needs a long time for sending a filelist.
The timespan increases exponential if many files are on the
remoteserver.
for example "ls -la *.txt" needs 10 seconds for 2000 files
but needs 50 seconds for 4000 files.
For 150.000 Files i have to wait 15 minutes for example
but the
2007 Dec 12
0
Revisiting sftp tab completion patch
I've finally took the time to figure the last few bugs (that I know of).
This patch will be submit to be included in a few weeks. This patch
should be generic enough for portable without too much hassle.
This patch mimics OpenBSD's ftp behavior. I'm not sure like that (e.g. it
doesn't put / at the end of directories by default), but that is more a
question for the community
2002 Aug 18
0
SEGV on mget with wildcards with no match
This is on FreeBSD 4.6-STABLE, doing an mget with wildcard char on a
non-existent file(s) produces a SEGV.
Reproduce the bug as follows (Note: "zqw*" is a pattern that does not
match):
% sftp user at host
user at host's password:
sftp> mget zqw*
Program received signal SIGSEGV, Segmentation fault.
0x804c5db in process_get (conn=0x80520e0, src=0x80540b0 "zwq*",
2003 Jan 16
1
Core dump in sftp from CVS
Hi All.
As I mentioned earlier, I've been having weird failures with both sshd
and sftp. The sshd one turned out the be my fault (misplaced "}", grr)
but the sftp one doesn't appear to be.
The sftp regression tests fail on the current portable tree on Solaris
and AIX (with my own mods to auth.c and regress/, but I don't think
that's related). The test that fails is:
2008 Jan 20
1
[Bug 1230] filename escaping of brackets in sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=1230
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|bitbucket at mindrot.org |djm at mindrot.org
--- Comment #1 from Damien
2008 Nov 24
5
[Bug 1541] New: sftp: the do_stat() failure is ignored for chown, chgrp ops. in parse_dispatch_command()
https://bugzilla.mindrot.org/show_bug.cgi?id=1541
Summary: sftp: the do_stat() failure is ignored for chown,
chgrp ops. in parse_dispatch_command()
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P5
Component: sftp
2002 Feb 02
0
Version two of progressbar for scp/sftp
Again, this has been lightly tested. I think there still are a few glitchs.
1. stole progressmeter() from scp.c - clean up and simplified a little
to remove the 'flag' status. It now understands how to initialize itself
and how to terminate itself. Along with a malloced status bar instead
of the original fix width bar.
2. removed all initialization code from scp.c for progressmeter()
2004 Sep 07
1
ACS-38 SmartCard reader
Hi,
Has anybody tried to get an ACR-38 USB smart card reader working with
the devel/pcsc-lite library under FreeBSD? The vendor, Advanced Card
Systems, seems to provide a Linux driver with sources, which I could
probably port without too much hassle (depending on the license and
such) at http://www.acs.com.hk/downloads_drivers.asp#ACR38, but neither
that page nor Google nor marc.theaimsgroup.com
2002 Oct 18
1
Patch: sftp client support of "ls [flags] [path [localfile]]" feature
Hello,
I just downloaded OpenSSH 3.5p1. This version has some great improvement in
sftp client.
But I still miss the FTP's "ls [flags] remote-path [localpath]" feature to
redirect the output of ls/dir
to a local file.
The following are the diff outputs against 3.5p1 to enable this feature.
*** sftp-int.c.orig Wed Sep 11 20:34:15 2002
--- sftp-int.c Fri Oct 18 13:39:46 2002
2002 Dec 05
2
[Bug 452] sftp does not abort when commands given via -b fail
http://bugzilla.mindrot.org/show_bug.cgi?id=452
------- Additional Comments From spin at avalon.net 2002-12-06 03:15 -------
Forgot to mention that this is 3.1p1-6 RedHat RPM.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2002 Feb 06
2
SFTP Status Bar..
This is the LAST version I plan on doing.. If I hear no feed back good
or bad. Then I'll assume I've wasted my time on a feature that people
whine about but don't care to try. This is against 3.0.2pX so it
should be VERY easy for anyone to test.
- Ben
diff -ur openssh-3.0.2p1/misc.c openssh/misc.c
--- openssh-3.0.2p1/misc.c Tue Jul 3 23:46:58 2001
+++ openssh/misc.c Wed Feb 6
2002 Jan 30
1
Quick sftp status indicator.
I think my first send was eaten by elm.. Yuck I hate this programm..
Anyawys, first the disclaimer:
This is barely tests, I submit this to the general population, but
I will not submit this for review of rest of the OpenSSH team.
Mainly because it is horrible at best. dealing with alarm() in
a sane way is not fun. It does not compile clean, but works.
IF anyone cares to clean it up..
2002 Feb 14
1
HP/UX 11 bug
glob(3) on HP/UX 11 always strips a trailing slash from a pathname. This
breaks the differing semantics of
rsync directory host:/foo/bar
rsync directory host:/foo/bar/
Here's a patch which, at least, doesn't seem to do any harm on Solaris
or Linux and fixes the problem on HP.
Cheers,
Mark
--- util.c.OLD Tue Jan 29 15:25:08 2002
+++ util.c Tue Jan 29 15:30:03 2002
@@ -542,6 +542,7 @@
2006 Apr 01
0
sftp tab completion patch (First release - NOT FOR INCLUDING YET)
This applies to the OpenBSD --current tree. Don't see why it shouldn't
work under portable.
Within the patch are the updates I need to make before I'll actually
submit it for real, but I figured I'd make a public drop.
Since I'm not on this list anymore keep me in the CC: if you want me to
respond.
I'll continue to work as time permits, but it would be nice if people
2010 Feb 23
1
Compiling R on Linux with SunStudio 12.1: "wide-character type" problems (rt)
Thank you Martyn,
I am one step closer. Using R-patched, configure was successful. However,
make exited with an error.
Configure summary:
Installation directory: /usr/local
C compiler: /opt/sun/sunstudio12.1/bin/suncc -g -O -xc99
-xlibmil -m32 -xlibmieee -nofstore
Fortran 77 compiler: /opt/sun/sunstudio12.1/bin/sunf95 -g -O
-libmil -m32 -nofstore
C++ compiler: