FreeBSD Bugzilla – Attachment 6292 Details for
Bug 14406
[SECURITY] strcpy() buffer overflow in umount(8)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 501 bytes, created by
venglin
on 1999-10-18 19:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
venglin
Created:
1999-10-18 19:50:00 UTC
Size:
501 bytes
patch
obsolete
>*** sbin/umount/umount.c.orig Mon Aug 3 08:44:46 1998 >--- sbin/umount/umount.c Mon Oct 18 16:36:49 1999 >*************** >*** 215,221 **** > > if (realpath(name, rname) == NULL) { > /* Continue and let the system call check it... */ >! strcpy(rname, name); > } > > origname = name; >--- 215,222 ---- > > if (realpath(name, rname) == NULL) { > /* Continue and let the system call check it... */ >! strncpy(rname, name, MAXPATHLEN-1); >! rname[MAXPATHLEN] = '\0'; > } > > origname = name;
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 14406
: 6292