bugPSPP - Bugs: bug #21863, Crashes after attempting to open...

 
 

bug #21863: Crashes after attempting to open non-existent file

Submitter:  John Darrington <jmd>
Submitted:  Fri 21 Dec 2007 08:31:20 AM UTC
   
 
Category:  None Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  Before 0.6.0
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Dec 2007 04:00:14 AM UTC, comment #2: 

I fixed this.

John Darrington <jmd>
Group administrator
Sun 23 Dec 2007 11:23:53 PM UTC, comment #1: 

I agree: taint_destroy should return true without doing anything if passed a null pointer.

Ben Pfaff <blp>
Group administrator
Fri 21 Dec 2007 08:31:20 AM UTC, original submission:  

This syntax causes a crash, when the code calls taint_destroy on
a null pointer.  Should we test the pointer before calling or
test inside the function?  I prefer the latter.

DATA LIST LIST /x.
BEGIN DATA.
4
END DATA

MATCH FILES FILE='/no-such-file'.

John Darrington <jmd>
Group administrator

 

(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 blp (Posted a comment)
  • -email is unavailable- added by jmd (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-24 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2007-12-21 jmd ReleaseNone Before 0.6.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code