[BusyBox 0001441]: [patch] with "ps -ww" since SVN version 18975
bugs at busybox.net
bugs at busybox.net
Wed Jul 25 17:28:08 UTC 2007
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1441
======================================================================
Reported By: rockeychu
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1441
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 07-24-2007 21:13 PDT
Last Modified: 07-25-2007 10:28 PDT
======================================================================
Summary: [patch] with "ps -ww" since SVN version 18975
Description:
Without this patch, "ps -ww" with gets SEGV.
Patch as following:
Index: procps/ps.c
===================================================================
--- procps/ps.c (revision 19256)
+++ procps/ps.c (working copy)
@@ -406,6 +406,7 @@
{
int sz = terminal_width - len;
+ if( sz > 1024) sz = 1024;
char buf[sz + 1];
read_cmdline(buf, sz, p->pid, p->comm);
puts(buf);
======================================================================
----------------------------------------------------------------------
vda - 07-25-07 10:28
----------------------------------------------------------------------
fixed, thanks!
Issue History
Date Modified Username Field Change
======================================================================
07-24-07 21:13 rockeychu New Issue
07-24-07 21:13 rockeychu Status new => assigned
07-24-07 21:13 rockeychu Assigned To => BusyBox
07-25-07 10:28 vda Status assigned => closed
07-25-07 10:28 vda Note Added: 0002640
======================================================================
More information about the busybox-cvs
mailing list