FreeBSD Bugzilla – Attachment 9492 Details for
Bug 19422
users can overflow argv to make ps segfault
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 347 bytes, created by
Marc Olzheim
on 2000-06-21 21:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Marc Olzheim
Created:
2000-06-21 21:40:01 UTC
Size:
347 bytes
patch
obsolete
>--- /usr/src/bin/ps/fmt.c Sat Aug 28 01:14:51 1999 >+++ /usr/src/bin/ps/fmt.c Wed Jun 21 22:19:22 2000 >@@ -80,7 +80,7 @@ > for (p = argv; (src = *p++) != 0; ) { > if (*src == 0) > continue; >- strvis(dst, src, VIS_NL | VIS_CSTYLE); >+ strvisx(dst, src, arg_max - strlen(buf) - 1, VIS_NL | VIS_CSTYLE); > while (*dst) > dst++; > *dst++ = ' ';
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 19422
: 9492 |
9493