Ticket #44211

savegame unquote_block() sanity check not in NDEBUG build

Eröffnet am: 2022-03-27 17:58 Letztes Update: 2022-04-23 05:08

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
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-Verlauf (3/5 Historien)

2022-03-27 17:58 Aktualisiert von: cazfi
  • New Ticket "savegame unquote_block() sanity check not in NDEBUG build" created
2022-04-13 03:37 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2022-04-23 05:08 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

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