Ticket #41146

Fixed rare crash that happens when the player setup menu opens

Open Date: 2021-01-13 04:59 Last Update: 2021-01-18 05:21

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
1

Details

This patch fixes a rare crash that happens because a player class with skins isn't added to the player class list (e.g. KEYCONF's "clearplayerclasses"), but classes deriving from it are added instead. As a result, the skins from the parent class, that normally should've been accessible to the derived player classes, aren't available. This can lead to Zandronum crashing if the client opens the player setup menu.

Thank you to geNia and the those behind the CCBM mod for reporting this issue.

Ticket History (3/4 Histories)

2021-01-13 04:59 Updated by: akmdm
  • New Ticket "Fixed rare crash that happens when the player setup menu opens" created
2021-01-18 05:12 Updated by: torr_samaho
Comment

Do you have a minimal example wad for the crash? From the description, I'm not sure whether the crash should be fixed or the mod should be rejected by the parser as wrong.

2021-01-18 05:21 Updated by: akmdm
Comment

Reply To torr_samaho

Do you have a minimal example wad for the crash? From the description, I'm not sure whether the crash should be fixed or the mod should be rejected by the parser as wrong.

Sure, I can create a minimal example wad quickly, and it's supposed to fix the crash instead of rejecting the mod.

Attachment File List

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login