bugProject: Starfighter - Bugs: bug #50644, Potential NULL-pointer...

 
 

bug #50644: Potential NULL-pointer dereferencing

Submitted by:  None
Submitted on:  Sun 26 Mar 2017 09:20:39 PM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Ready For Test
Privacy: PublicAssigned to: Julie Marchant <onpon4>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 27 Mar 2017 03:54:11 AM UTC, comment #1:

I've pushed a commit which I think will solve this. Can you test the latest version from Git, please?

If it doesn't work, could you let me know what your OS is, and when exactly the crash occurs?

Julie Marchant <onpon4>
Project AdministratorIn charge of this item.
Sun 26 Mar 2017 09:20:39 PM UTC, original submission:

From Debian bug #858796:

Frequently, I get a crash here, because gfx_messageBox is NULL:

// Show the radio message if there is one
if (gfx_textSprites[TS_RADIO].life > 0)
{
screen_blit(gfx_messageBox, (screen->w - gfx_messageBox->w) / 2, 50);
gfx_textSprites[TS_RADIO].life--;
}

I'm guessing the big-picture bug has something to do with switching between the various major screens (combat, menu, etc).

Anonymous

 

(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 onpon4 (Posted a comment)
  •  

    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 27 Mar 2017 03:54:11 AM UTConpon4Severity3 - Normal=>4 - Important
      StatusNone=>Ready For Test
      Assigned toNone=>onpon4

    Back to the top


    Powered by Savane 3.1-cleanup1