bugThe GNU Hurd - Bugs: bug #28794, ps segfaults when given empty...

 
 

bug #28794: ps segfaults when given empty format string

Submitter:  Carl Fredrik Hammar <hammy>
Submitted:  Tue 02 Feb 2010 05:33:41 PM UTC
   
 
Category:  Hurd Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Reproducibility:  Every Time
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 07 Feb 2010 10:36:42 PM UTC, comment #3: 

Patch applied, thanks!

Samuel Thibault <sthibaul>
Group administrator
Tue 02 Feb 2010 06:49:57 PM UTC, comment #2: 

(Whoops, wrong box)

No it seemed unrelated (hang vs. segfault).  I checked now just in case
and they are indeed unrelated.

Also I just submitted a patch to bug-hurd.

Carl Fredrik Hammar <hammy>
Group Member
Tue 02 Feb 2010 06:40:21 PM UTC, comment #1: 

Did you check with my commit

commit 983ff51c9b6825dc0fc73b9531233d7495863718
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Nov 17 02:44:49 2009 +0100

?

Samuel Thibault <sthibaul>
Group administrator
Tue 02 Feb 2010 05:33:41 PM UTC, original submission:  

Calling ps with an empty format string causes it to segfault.
For instance:

  ps --format=''

It works with any of the format options: -F, --format, -o,
and --posix-format.

Carl Fredrik Hammar <hammy>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sthibaul (Posted a comment)
  • -email is unavailable- added by hammy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-02-07 sthibaul StatusNone Fixed
        Open/ClosedOpen Closed
    2010-02-02 hammy Wiki-like text discussion boxNo it seemed unrelated (hang vs. segfault). I checked now just in case and they are indeed unrelated. Also I just submitted a patch to bug-hurd.
    2010-02-02 hammy Wiki-like text discussion box No it seemed unrelated (hang vs. segfault). I checked now just in case and they are indeed unrelated. Also I just submitted a patch to bug-hurd.

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code