Ticket #44211

savegame unquote_block() sanity check not in NDEBUG build

Open Date: 2022-03-27 17:58 Last Update: 2022-04-23 05:08

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

Noticed on S3_0: Both savegame2.c and savegame3.c have unquote_block() asserting that number of items from sscanf() is 1. I think that sanity check (which might even be for external data - haven't investigated closely) should happen also when asserts are not enabled.

Ticket History (3/5 Histories)

2022-03-27 17:58 Updated by: cazfi
  • New Ticket "savegame unquote_block() sanity check not in NDEBUG build" created
2022-04-13 03:37 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-04-23 05:08 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login