Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/games/adventure



Module Name:    src
Committed By:   christos
Date:           Tue Mar 21 17:14:15 UTC 2006

Modified Files:
        src/games/adventure: io.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/games/adventure/io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index