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

 
 

bug #50644: Potential NULL-pointer dereferencing

Submitter:  None
Submitted:  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:  onpon4
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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?

Layla Marchant <onpon4>
Group administrator
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)
  •  

    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
    2017-03-27 onpon4 Severity3 - Normal 4 - Important
        StatusNone Ready For Test
        Assigned toNone onpon4

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code