diff options
| author | christos <christos@NetBSD.org> | 2006-03-21 17:14:15 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-03-21 17:14:15 +0000 |
| commit | c75621391dae5a9b1412c1964ee8f6debf2c1035 (patch) | |
| tree | f84fdd8678f16bb527e6018b8401e3d3fe6849a3 /atc/extern.c | |
| parent | ea7a50190d992fca1a93ad925f543277e2e66cab (diff) | |
| download | bsdgames-darwin-c75621391dae5a9b1412c1964ee8f6debf2c1035.tar.gz bsdgames-darwin-c75621391dae5a9b1412c1964ee8f6debf2c1035.zip | |
Coverity CID 2737: Handle linked-lists properly. Use calloc instead of malloc
so that we don't end up storing garbage accidentally and the next pointer is
initialized. If there is an inconsistency in the file abort instead
of dereferencing NULL.
Diffstat (limited to 'atc/extern.c')
0 files changed, 0 insertions, 0 deletions
