The Samba-Bugzilla – Attachment 5530 Details for
Bug 7057
Buffer overflow when sending a file with long name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Rewritten patch doing boundary check
rsync-3.0.7-buf-overflow.patch (text/plain), 423 bytes, created by
Jan Zeleny
on 2010-03-24 08:54:51 UTC
(
hide
)
Description:
Rewritten patch doing boundary check
Filename:
MIME Type:
Creator:
Jan Zeleny
Created:
2010-03-24 08:54:51 UTC
Size:
423 bytes
patch
obsolete
>--- rsync-3.0.7/flist.c.orig 2010-03-24 14:32:53.000000000 +0100 >+++ rsync-3.0.7/flist.c 2010-03-24 14:38:55.000000000 +0100 >@@ -1641,7 +1641,14 @@ static void send_directory(int f, struct > > p = fbuf + len; > if (len != 1 || *fbuf != '/') >+ { >+ if (len >= MAXPATHLEN-1) >+ { >+ rprintf(FERROR_XFER, "Directory path too long\n"); >+ return; >+ } > *p++ = '/'; >+ } > *p = '\0'; > remainder = MAXPATHLEN - (p - fbuf); >
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 Raw
Actions:
View
Attachments on
bug 7057
:
5215
|
5529
| 5530 |
5551
|
5553