mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 04:47:06 +01:00
fa98bdb8b0
Resolved: start_tools() parses the convertmodels flags with from_chars and both commands stop on bad flags; a vehicle's .t3d is refused before it. The reader keeps the streams of this branch and the known sections of #535: an unknown section the model needs is refused as unknown before its codec is looked at, and an unknown optional one in the codec of the streams is passed over even by the tools, which can't keep it unpacked (forward compatibility of the codec flag). An exception in a stream worker (no memory for a declared size) becomes the error of the file instead of std::terminate; NOSONAR on the S2259 false positive there and on the seeded engines of the tests.