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:  None Severity:  4 - Important
Item Group:  None Status:  Ready For Test
Privacy:  Public Assigned 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 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 onpon4 (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-27 onpon4 Severity3 - Normal => 4 - Important
        StatusNone => Ready For Test
        Assigned toNone => onpon4

    Back to the top


    Powered by Savane 3.4