[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    [BusyBox 0001441]: [patch] with "ps -ww" since SVN version 18975
From:       bugs () busybox ! net (bugs at busybox ! net)
Date:       2007-07-25 4:13:10
Message-ID: 50dfffc32d51d0a022b5c53e9e21fdce () bugs ! busybox ! net
[Download RAW message or body]


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         
======================================================================


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic