qemu/tests
Stefan Weil 2917dce477 tests/cris: Fix some errors and potential crashes
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>
2011-04-03 21:58:38 +02:00
..
alpha
cris tests/cris: Fix some errors and potential crashes 2011-04-03 21:58:38 +02:00
lm32 lm32: opcode testsuite 2011-03-07 13:42:37 +01:00
hello-arm.c
hello-i386.c Replace 'extern inline' with 'static inline' 2011-01-17 20:26:30 +00:00
hello-mips.c
linux-test.c tests: Fix two memory leaks 2011-02-20 18:45:08 +01:00
Makefile lm32: opcode testsuite 2011-03-07 13:42:37 +01:00
pi_10.com
qruncom.c
runcom.c make runcom compile on recent distributions 2010-10-23 14:47:01 +00:00
sha1.c
test_path.c fix test_path 2010-10-23 14:47:06 +00:00
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 disable test_enter on i386, it is broken 2010-10-23 14:46:58 +00:00
test-i386.h
test-mmap.c
testthread.c