diff options
author | Simeon <exxus@users.noreply.github.com> | 2018-10-25 23:05:18 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-25 23:23:03 +0100 |
commit | 8cf8d490d6b81c2b8ca6eb4a4852ffb2606b12c2 (patch) | |
tree | dd314ea7fcc6cb90ea334ee85fa74ee484dc8b39 /core/taxonomy.h | |
parent | bb4c2031ef662b632eebb41b7173d8fd8324f1c6 (diff) | |
download | subsurface-8cf8d490d6b81c2b8ca6eb4a4852ffb2606b12c2.tar.gz |
Fix bug in for loop that can lead to segfault
In case of big log files, where MAX_TANK_INFO is reached, tank_info[i] != NULL should be checked after i<MAX_TANK_INFO
Signed-off-by: Simeon Geiger <simeon.geiger@gmail.com>
Diffstat (limited to 'core/taxonomy.h')
0 files changed, 0 insertions, 0 deletions