FreeBSD Bugzilla – Attachment 104564 Details for
Bug 144761
FTPD bug remote crash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ftpd_popen.patch
ftpd_popen.patch (text/plain), 461 bytes, created by
David BERARD
on 2010-03-15 12:40:07 UTC
(
hide
)
Description:
ftpd_popen.patch
Filename:
MIME Type:
Creator:
David BERARD
Created:
2010-03-15 12:40:07 UTC
Size:
461 bytes
patch
obsolete
>--- /usr/src/libexec/ftpd/popen.c 2009-10-25 01:10:29.000000000 +0000 >+++ /usr/src/libexec/ftpd/popen.c 2010-03-13 08:03:24.000000000 +0000 >@@ -108,7 +108,7 @@ > memset(&gl, 0, sizeof(gl)); > gl.gl_matchc = MAXGLOBARGS; > flags |= GLOB_LIMIT; >- if (glob(argv[argc], flags, NULL, &gl)) >+ if (glob(argv[argc], flags, NULL, &gl) || gl.gl_pathc == 0) > gargv[gargc++] = strdup(argv[argc]); > else > for (pop = gl.gl_pathv; *pop && gargc < (MAXGLOBARGS-1);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 144761
: 104564