Sean McBride
50ca77f4a0
create_test_sourcelist: Initialize variable at declaration
...
Clang -Wconditional-uninitialized warns otherwise.
2014-03-31 09:41:05 -04:00
Sean McBride
ed675a92a1
create_test_sourcelist: Fix linkage in generated test driver code
...
Mark private function/global with static linkage.
2013-11-12 09:27:11 -05:00
Matt McCormick
7eddefd8f1
TestDriver.cxx.in: Untrusted array index read.
...
As reported by Coverity Scan, if the configured file contains a #include,
Untrusted array index read
The array index could be controlled by an attacker, leading to reads outside
the bounds of the array.
In main: Read from array at index computed using an unscrutinized value from
an untrusted source (CWE-129)
CID 1081283 (#1 of 1): Untrusted array index read (TAINTED_SCALAR)
25. tainted_data: Using tainted variable "testToRun" as an index into an array
"cmakeGeneratedFunctionMapEntries".
2013-10-16 10:11:20 +00:00
Kitware Robot
7bbaa4283d
Remove trailing whitespace from most CMake and C/C++ code
...
Our Git commit hooks disallow modification or addition of lines with
trailing whitespace. Wipe out all remnants of trailing whitespace
everywhere except third-party code.
Run the following shell code:
git ls-files -z -- \
bootstrap doxygen.config '*.readme' \
'*.c' '*.cmake' '*.cpp' '*.cxx' \
'*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
'*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
egrep -z -v '^(Modules/CPack\..*\.in)' |
xargs -0 sed -i 's/ \+$//'
2012-08-13 14:18:39 -04:00
David Cole
95a6feaa66
COMP: Don't emit old style cast warning when configured as C++ but still allow being configured as C. Thanks to Monsieur Francois Bertel for the patch.
2008-12-09 10:56:41 -05:00
Amitha Perera
47aa926523
BUG: the return value of scanf should not be ignored
2008-11-25 09:52:21 -05:00
Bill Hoffman
ff7757e34c
make sure tests flush output
2004-07-16 15:18:42 -04:00
Bill Hoffman
a613100b1e
BUG: remove debug pop hacks, also remove duplicate call to argvc function
2004-05-08 14:55:07 -04:00
Ken Martin
c10cb4db5a
fix warning maybe
2004-05-07 08:35:46 -04:00
Ken Martin
f299f4ae9c
fix warning
2004-05-06 08:51:36 -04:00
Bill Hoffman
7eab2e4235
ENH: remove unused variable
2004-04-30 11:36:01 -04:00
Bill Hoffman
e539cf9f7c
ENH: make test driver more flexible by using a configured file instead of generating all the code. fixes bug 28
2004-04-28 12:31:18 -04:00