cppcheck/test
Slava Semushin 6c022798ea Fixed ticket #499 (buffer overflow not detected when using macros)
sprintf() buffer overrun detection works wrong due to typo (since time
when it was added in commit a604f56f19).

Also reports buffer overrun when sprintf() writes bytes equal to
buffer size -- in this case off-by-one error appears.

http://sourceforge.net/apps/trac/cppcheck/ticket/499
2009-07-26 19:29:46 +07:00
..
test.pro Add QMake project files for core and tests. 2009-07-14 14:36:05 +03:00
testautovariables.cpp Refactoring: Moved CheckOther::returnPointerToLocalVariable to CheckAutoVariables 2009-06-09 19:45:58 +02:00
testbufferoverrun.cpp Fixed ticket #499 (buffer overflow not detected when using macros) 2009-07-26 19:29:46 +07:00
testcharvar.cpp Refactoring: Rename member functions to follow naming guidelines. 2009-07-05 23:16:43 +03:00
testclass.cpp Fixed ticket #459 (false positive::Member variable not initialized in constructor) 2009-07-17 23:50:49 +07:00
testconstructors.cpp refactoring: renamed the severity "all" to "possible error" 2009-07-13 10:16:31 +02:00
testcppcheck.cpp dereferencing deallocated memory: it is ok to take the address to deallocated memory but it is not ok to dereference the address 2009-07-21 13:04:13 +02:00
testdangerousfunctions.cpp refactoring: Renamed checking classes 2009-07-13 16:00:15 +02:00
testdivision.cpp refactoring: renamed the severity "all" to "possible error" 2009-07-13 10:16:31 +02:00
testfilelister.cpp Strip redundant std::string usage from tests. 2009-06-01 02:50:25 +07:00
testincompletestatement.cpp Refactoring: Rename member functions to follow naming guidelines. 2009-07-05 23:16:43 +03:00
testmathlib.cpp Strip redundant std::string usage from tests. 2009-06-01 02:50:25 +07:00
testmemleak.cpp memory leaks: fixed false positive for struct members - better handling of if/else 2009-07-24 09:05:40 +02:00
testother.cpp Fixed #504 (false positive: null pointer dereference) 2009-07-25 20:36:02 +02:00
testpreprocessor.cpp Fix ticket #265 (Log a warning when an include file is not found) 2009-07-25 22:10:30 +03:00
testredundantif.cpp Strip redundant std::string usage from tests. 2009-06-01 02:50:25 +07:00
testrunner.cpp test/testrunner.cpp: fixed exit code when count of fails tests equals to 256. 2009-07-19 03:12:55 +07:00
testsimplifytokens.cpp Fixed ticket #496 (Tokenizer: simplify statements with "," better) 2009-07-26 18:03:11 +07:00
teststl.cpp astyle FTW (should have read about that sooner) 2009-07-24 19:23:30 -04:00
testsuite.cpp Fixed ticket #481 (testrunner should exit with non-zero status if one of tests fails) 2009-07-18 19:08:10 +07:00
testsuite.h Fixed ticket #481 (testrunner should exit with non-zero status if one of tests fails) 2009-07-18 19:08:10 +07:00
testtoken.cpp Replace tok->previous()->previous() call to tok->tokAt(-2). 2009-06-14 13:33:45 +07:00
testtokenize.cpp Fixed ticket #500 (Tokenizer: simplify the "(p != NULL)" conditions) 2009-07-25 18:23:03 +07:00
testunusedfunctions.cpp Fixed ticket #373 (False unused functions) 2009-06-14 07:58:36 +02:00
testunusedprivfunc.cpp unused private functions: don't check classes declared in header files unless it is known that their whole implementation is seen 2009-07-12 14:23:01 +02:00
testunusedvar.cpp Refactoring: Rename member functions to follow naming guidelines. 2009-07-05 23:16:43 +03:00