diff options
author | Omar Polo <op@cvs.openbsd.org> | 2023-03-22 19:42:42 +0000 |
---|---|---|
committer | Omar Polo <op@cvs.openbsd.org> | 2023-03-22 19:42:42 +0000 |
commit | 1bfa8890253b5984c35cbfb8d4b78e8bce4d468c (patch) | |
tree | abd3c4eb83dbd855f8ff91ba185c165017e6b8fe /games/monop/deck.h | |
parent | cd04920052138ba80299c994d3a406cb1ed9548c (diff) |
avoid memleak / crash in addctag
the l pointer is advanced, so if the line is malformed `goto cleanup'
will free(NULL) or a pointer inside l.
semplification and ok tb@
Diffstat (limited to 'games/monop/deck.h')
0 files changed, 0 insertions, 0 deletions