2917dce477
These errors were reported by cppcheck: tests/cris/check_openpf1.c:30: error: Mismatching allocation and deallocation: f tests/cris/check_openpf2.c:13: error: Mismatching allocation and deallocation: f tests/cris/check_stat3.c:16: error: Buffer overrun possible for long cmd-line args tests/cris/check_stat4.c:18: error: Buffer overrun possible for long cmd-line args The first two are obvious coding errors (fopen needs fclose, not close). The last two may seem less important (nobody will start test code with an argument of more than 1022 characters which raises a buffer overrun). Fixing them nevertheless helps with static code checks like those done by cppcheck. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> |
||
---|---|---|
.. | ||
alpha | ||
cris | ||
lm32 | ||
hello-arm.c | ||
hello-i386.c | ||
hello-mips.c | ||
linux-test.c | ||
Makefile | ||
pi_10.com | ||
qruncom.c | ||
runcom.c | ||
sha1.c | ||
test_path.c | ||
test-arm-iwmmxt.s | ||
test-i386-code16.S | ||
test-i386-muldiv.h | ||
test-i386-shift.h | ||
test-i386-ssse3.c | ||
test-i386-vm86.S | ||
test-i386.c | ||
test-i386.h | ||
test-mmap.c | ||
testthread.c |