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

 
 

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

Submitted by:  John Darrington <jmd>
Submitted on:  Fri 21 Dec 2007 08:31:20 AM UTC  
 
Category: NoneSeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: Before 0.6.0
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

I fixed this.

John Darrington <jmd>
Project 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>
Project 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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by blp (Posted a comment)
  • -unavailable- added by jmd (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 24 Dec 2007 04:00:14 AM UTCjmdStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 21 Dec 2007 08:33:09 AM UTCjmdReleaseNone=>Before 0.6.0

    Back to the top


    Powered by Savane 3.1-cleanup1