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
Priority:  5 - Normal Item Group:  None
Status:  Ready For Test Privacy:  Public
Assigned to:  onpon4 Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by onpon4 (Posted a comment)
  •  

    Votes

    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.

     

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

    History

    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.16-a7ba.
    Corresponding source code