Date: Mon, 09 Nov 2009 13:44:15 -0800 From: Xin LI <delphij@delphij.net> To: David Cornejo <dave@dogwood.com> Cc: freebsd-current@freebsd.org, des@FreeBSD.org Subject: Re: sftp seg faulting Message-ID: <4AF88D2F.3060306@delphij.net> In-Reply-To: <4ab61a80911091307o28ca4e78pa8e42441bcf2e604@mail.gmail.com> References: <4ab61a80911091307o28ca4e78pa8e42441bcf2e604@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040606040309030104060808 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Cornejo wrote: > Hi, > > In recent builds of 9-CURRENT on amd64 platform I am getting seg > faults that seem related to glob - same vintage works on x86. > > Attempting ls of remote directory: > > (gdb) run > Starting program: /usr/bin/sftp white > Connecting to white... > Password: [...] > I'm either unlucky in tracing through glob or haven't been persistent > enough - anyone have any idea what might be going on? I am currently using a patch des@ sent to me (and also to this list) which worked fine. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkr4jS8ACgkQi+vbBBjt66C9rwCfY6HH8I4WzoOlgL4UQNSFKvrA QfsAoIO0/IihgHEio/N8iHvRYFdgPtJh =bBF5 -----END PGP SIGNATURE----- --------------040606040309030104060808 Content-Type: text/plain; name="openssh-glob.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="openssh-glob.diff" Index: crypto/openssh/ssh_namespace.h =================================================================== --- crypto/openssh/ssh_namespace.h (revision 197801) +++ crypto/openssh/ssh_namespace.h (working copy) @@ -223,6 +223,8 @@ #define get_u32 ssh_get_u32 #define get_u64 ssh_get_u64 #define getrrsetbyname ssh_getrrsetbyname +#define glob ssh_glob +#define globfree ssh_globfree #define host_hash ssh_host_hash #define hostfile_read_key ssh_hostfile_read_key #define hpdelim ssh_hpdelim Index: secure/lib/libssh/Makefile =================================================================== --- secure/lib/libssh/Makefile (revision 197801) +++ secure/lib/libssh/Makefile (working copy) @@ -19,7 +19,7 @@ # compiled directly into sshd instead. # Portability layer -SRCS+= bsd-misc.c fmt_scaled.c getrrsetbyname.c \ +SRCS+= bsd-misc.c fmt_scaled.c getrrsetbyname.c glob.c \ openssl-compat.c port-tun.c strtonum.c vis.c xcrypt.c xmmap.c # FreeBSD additions SRCS+= version.c --------------040606040309030104060808--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AF88D2F.3060306>