[BusyBox 0001441]: [patch] with "ps -ww" since SVN version 18975
bugs at busybox.net
bugs at busybox.net
Tue Jul 24 21:13:10 PDT 2007
The following issue has been SUBMITTED.
======================================================================
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: assigned
======================================================================
Date Submitted: 07-24-2007 21:13 PDT
Last Modified: 07-24-2007 21:13 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);
======================================================================
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
======================================================================
More information about the busybox-cvs
mailing list