mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-27 22:55:16 +01:00
read_timetable() went on from the StationCount it was given and checked only the upper bound, so TimeTable[StationCount] and TimeTable[StationCount - 1] could index out of the table (Sonar cpp:S3519). It now resets the count and the table first, and checks both bounds before the next station.
9.8 KiB
9.8 KiB