Timeline
04/09/09:
- 02:45 Ticket #247 (STL range check should be using != and not <) created by
- Saw this somewhere in regards to STL mistakes: The end range check should …
04/07/09:
- 19:50 Ticket #246 (expression with side effects) created by
- Expression with side effects passed to repeated parameter Integer …
04/06/09:
- 20:42 Ticket #236 (floating point arithmetics are not properly simplified) reopened by
- Hi friends, there is maybe an issue in the mathlib: floating point …
- 17:28 Ticket #236 (floating point arithmetics are not properly simplified) closed by
- fixed: hoangtuansu created mathlib for us
04/05/09:
- 19:41 Ticket #212 (Tokenizer: Handle L "text") closed by
- fixed: Fixed by …
- 18:28 Ticket #227 (*.tpp extension) closed by
- worksforme: That example you gave shows that .tpp files are handled like .h files: …
- 18:15 Ticket #244 (Headers from included file are searched from wrong path) closed by
- fixed: Fixed by …
- 17:46 WikiStart edited by
- release date 5th -> 11th (diff)
- 14:22 Ticket #245 (division by zero) closed by
- invalid: Dupe of #236 (floating point arithmetics are not properly simplified)
- 12:04 Ticket #245 (division by zero) created by
- […]
04/04/09:
- 19:53 Ticket #244 (Headers from included file are searched from wrong path) created by
- E.g. test/testtoken.cpp has […] which is correctly found. But …
- 18:07 Ticket #243 (boundary checking) closed by
- fixed: Fixed by …
- 17:18 Ticket #243 (boundary checking) created by
- […] cppcheck does not find this error. The pointer i goes out of bound. …
04/03/09:
- 19:21 Ticket #238 (bug in preprocessor.cpp that can cause crash) closed by
- invalid: Ok, the only problem I could see has now been fixed (by #242), Cppcheck …
- 19:12 Ticket #242 (Preprocessor: Bail out on failure instead of terminating the program) closed by
- fixed: Fixed by …
03/31/09:
- 17:09 Ticket #240 (Do not refer to operator= as constructor) closed by
- fixed: Fixed by: …
- 05:55 Ticket #242 (Preprocessor: Bail out on failure instead of terminating the program) created by
- This is related to #238 The preprocessor terminates cppcheck if an error …
03/30/09:
- 22:00 Ticket #239 (missing function implementation in namespace causes crash) closed by
- fixed: Fixed by …
- 20:42 Ticket #241 (detect memory overlap with memcpy()) created by
- This code (yes, I am aware this is a very bad example): […] will …
- 20:29 Ticket #240 (Do not refer to operator= as constructor) created by
- This code: […] generates the following message: …
- 20:20 Ticket #239 (missing function implementation in namespace causes crash) created by
- The attached sample is causing a crash.
- 13:12 Ticket #238 (bug in preprocessor.cpp that can cause crash) created by
- When preprocessing a file, I got: ####### There is a bug in …
- 08:48 Ticket #237 (repo different leading whitespace for line with else and line with ...) created by
- Suppose that we have this code: 1:<TAB>if (a) 2:<TAB><TAB>z (); …
03/29/09:
- 16:07 Ticket #236 (floating point arithmetics are not properly simplified) created by
- This code: […] is tokenized to: […] which is also causing false …
- 14:37 Ticket #233 (unknown typedef causes division by zero false positive) closed by
- fixed: Fixed by: …
03/28/09:
- 20:51 Ticket #228 (false positive with usage of an auto-variable) closed by
- fixed: Replying to kidkat: > {{{ > void func(int* i) > { > int j = …
- 20:16 Ticket #234 (typedef should not be tagged as variable) closed by
- fixed: Thanks! Fixed by: …
- 19:43 Ticket #231 (Performance enhancement) closed by
- fixed: Thanks! The code worked. Applied by: …
- 18:54 Ticket #235 (Add checks of copy constructors.) created by
- It would be great if cppcheck could check copy constructors and report …
- 13:32 Ticket #233 (unknown typedef causes division by zero false positive) reopened by
- 13:30 Ticket #234 (typedef should not be tagged as variable) created by
- This code: […] is tokenized to: […]
- 13:28 Ticket #233 (unknown typedef causes division by zero false positive) closed by
- invalid: This is bogus - nevermind.
- 13:24 Ticket #233 (unknown typedef causes division by zero false positive) created by
- This code: […] is tokenized to […] causing …
- 12:34 Ticket #232 (New check: Report non-use of fsync() before close()) created by
- There has been alot of talk about some issues with Ext4: …
- 08:09 Ticket #156 (Feature Request::division by zero) closed by
- fixed: Fixed by: …
03/27/09:
- 19:48 Ticket #231 (Performance enhancement) created by
- This patch improves performance of the simplifyTokenList function when the …
- 16:22 Ticket #230 (new check: null pointer dereference after loop) closed by
- fixed: Fixed by …
- 14:28 Ticket #230 (new check: null pointer dereference after loop) created by
- A mistake I've seen pretty often in the cppcheck program is null-pointer …
- 11:28 Ticket #229 (detect semicolon after while loop) closed by
- duplicate: A semicolon after the while shouldn't automaticly generate an error. It …
- 10:59 Ticket #229 (detect semicolon after while loop) created by
- Hi friends, […] This code produces an infinit loop; cppcheck does not …
03/26/09:
- 20:46 Ticket #215 (New check: Pointer comparison with undefined result) closed by
- invalid: I'll just close this.. I don't think it's too important.
- 20:17 WikiStart edited by
- not full speed development anymore (diff)
- 18:51 Ticket #228 (false positive with usage of an auto-variable) created by
- […] [c:\temp\cppcheck_tests\test58.c:5]: (error) Wrong assignement of …
- 15:32 Ticket #227 (*.tpp extension) created by
- Hi friends, some projects store their template implementation in files …
- 15:26 Ticket #219 (Sign fill during constant shift) closed by
- invalid: I don't like this ticket. It is too complicated. The given code example is …
- 14:50 Ticket #189 (false positive: Redundant condition save to deallocate a null pointer) closed by
- invalid
- 14:43 Ticket #225 (warning about main function, that does not return an integer) closed by
- invalid: ok. If I rename "main" to "foo" I get this warning.. […]
- 07:05 Ticket #224 (wrong usage of new) closed by
- invalid: there is nothing wrong with that usage of new. If we just blindly warn …
- 06:54 Ticket #221 (local macro not referenced) closed by
- invalid: See also #194 GCC has that warning already. I get the warning when I …
- 00:50 Ticket #226 (Wrong usage of std::cin with a while loop) created by
- […] every time the statement while (!cin.eof()) is used, it will …
03/25/09:
- 22:18 Ticket #225 (warning about main function, that does not return an integer) created by
- Hi friends, […] cppcheck does not complain about this. But the main …
- 22:14 Ticket #224 (wrong usage of new) created by
- Hi friends, […] i found another possible issue. […] otherwise …
- 22:01 Ticket #223 (implicit call of copy operator) created by
- Hi friends, […] surprisingly this code compiles without warning, but …
- 21:37 Ticket #222 (Constructor pittfalls regarding strings) created by
- Hi friends, […] This expression does not construct an object b of type …
- 21:25 Ticket #221 (local macro not referenced) created by
- Hi friends, […] Maybe cppcheck can complain about such an issue. Here …
- 21:13 Ticket #220 (uninitialized variable: using variable in ctor before it has been ...) created by
- Hi friends, […] this code compiles well without warnings. Cppcheck …
- 20:59 Ticket #219 (Sign fill during constant shift) created by
- Hi friends, found that code on http://www.gimpel.com/html/bugs/bug649.htm …
- 18:28 Ticket #190 (Variable id missing for std::string variables.) closed by
- fixed: Fixed by commit c74da7bab95893289bae011d4661982d7df93498
- 14:15 Ticket #218 (Assignment operator does not return *this) created by
- Hi friends, […] this code compiles well with gcc-4.3.3 on my linux …
- 13:30 Ticket #217 (possible improvement --context option) created by
- Hi friends, a possible improvement might be a command line option like …
- 07:47 Ticket #206 (simplify token list: variable value) closed by
- fixed: Fixed by …
- 07:46 Ticket #213 (Wrong use of memset) closed by
- fixed: Fixed by: …
- 05:08 Ticket #198 (Buffer argument will be copied into itself) closed by
- fixed: Well.. it works for me. It must have been fixed by one of the other fixes.
03/24/09:
- 20:56 Ticket #202 (Return of the address of an auto-variable) closed by
- fixed: Replying to ettlmartin: > checking the function: > > {{{ > …
- 20:01 Ticket #216 (The scope of the variable < > can be limited) closed by
- fixed: Fixed by: …
- 19:51 Ticket #208 (Not initialized by constructor) closed by
- fixed: The class checks were disabled. Enabled them again: …
- 19:48 Ticket #216 (The scope of the variable < > can be limited) created by
- […] cppcheck says: [test.cpp:26]: (style) The scope of the variable e …
- 19:31 Ticket #203 ((style) the scope of variable < > can be limited) closed by
- fixed: Simple fix by: …
- 18:59 Ticket #215 (New check: Pointer comparison with undefined result) created by
- I am not 100% sure but I believe the result of this function will be …
- 18:51 Ticket #197 (false positive: if()-condition) closed by
- fixed: Well.. the casting affected the data in a way that cppcheck didn't handle. …
- 17:45 Ticket #210 (False positive: snprintf where len is given for example as "8-x") closed by
- fixed: Fixed by …
- 17:25 Ticket #200 (False positive: realloc memory leak) closed by
- fixed: Fixed by: …
- 16:57 Ticket #214 (No copy operator/constructor in class with dynamically allocated memory in ...) created by
- […] The code above allocates memory in the constructor, but has no copy …
- 16:54 Ticket #213 (Wrong use of memset) created by
- […] This code compiles well. But it will crash, because the memset …
- 16:32 Ticket #212 (Tokenizer: Handle L "text") created by
- Handle this […]
- 16:19 Ticket #211 (direct pointer copy in copy constructor) created by
- […] In the copy constructor, the address is copied, not the value. …
- 07:31 Ticket #210 (False positive: snprintf where len is given for example as "8-x") created by
- This code gives a false positive: […] The false positive: […]
- 00:01 Ticket #209 (virtual function call within a baseclass constructor/destructor) created by
- […] cppcheck does not complain about. But there is a possible issue. …
03/23/09:
- 23:40 Ticket #208 (Not initialized by constructor) created by
- […] cppcheck does not complain about this code. But there are a issues: …
- 23:02 Ticket #200 (False positive: realloc memory leak) reopened by
- […] output: […]
- 18:06 Ticket #205 (False positive: char variable used in bit operation) closed by
- fixed: Fixed by …
- 17:51 Ticket #200 (False positive: realloc memory leak) closed by
- fixed: Fixed by …
- 17:24 Ticket #201 (Tokenizer: Simplify if condition that contains assignment) closed by
- fixed: Fixed by …
- 12:07 Ticket #207 (cppcrash during analyzing cpp file which contains unicode characters) created by
- Version 1.30, Windows XP SP3. cppcheck.exe crashes during analyzing of …
- 10:55 Ticket #206 (simplify token list: variable value) created by
- The "Tokenizer::simplifyKnownVariables" can be improved further. …
- 08:21 WikiStart edited by
- (diff)
- 06:29 Ticket #205 (False positive: char variable used in bit operation) created by
- This generates a false positive about using char variable in bit …
03/22/09:
- 21:53 Ticket #204 (false positive::memory leak with --all when free is guarded by simple if) created by
- checking the code: […] cppcheck says: [test.cpp:21]: (all) Memory …
- 21:30 Ticket #203 ((style) the scope of variable < > can be limited) created by
- checking the code […]
- 21:15 Ticket #202 (Return of the address of an auto-variable) created by
- checking the function: […] returns: [test.cpp:6]: (style) Warning - …
- 20:48 Ticket #201 (Tokenizer: Simplify if condition that contains assignment) created by
- This solves ticket #200 (defect) The assignment in a condition can often …
- 19:11 Ticket #33 (Tool to create Makefile) closed by
- wontfix: If you want this, make a suggestion on the forum. Meanwhile, the …
- 17:59 Ticket #199 (the error messages generated by "unused functions" check is wrong) closed by
- fixed: Fixed by …
- 16:58 Ticket #200 (False positive: realloc memory leak) created by
- This simplified test case produce a false positive : void foo() { …
- 13:10 Ticket #199 (the error messages generated by "unused functions" check is wrong) created by
- This is a sample of the error messages: […] The location is wrong. And …
03/21/09:
- 21:02 Ticket #192 (alternate C-style parameter declaration not properly tokenized) closed by
- fixed: Fixed by …
- 13:21 Ticket #188 (Return of auto variable address) closed by
- fixed
- 12:56 Ticket #198 (Buffer argument will be copied into itself) created by
- […] cppcheck does not complain about (using the options -a -s -f). But …
03/20/09:
- 23:00 Ticket #188 (Return of auto variable address) reopened by
- Hi friends, […] the function foo returns the adress of a static …
- 20:48 Ticket #197 (false positive: if()-condition) created by
- […] by checking the sample, cppcheck says: cppcheck -a -s test.cpp …
- 12:47 Ticket #196 (False positive: Resource leak) created by
- […] cppcheck detects resource leaks, but there are no leaks. It is …
03/19/09:
- 19:56 Ticket #188 (Return of auto variable address) closed by
- fixed
- 06:41 Ticket #185 (preprocessor: check the defines) closed by
- duplicate: See #194
03/18/09:
- 22:54 Ticket #195 (Unusual shift operation) created by
- found this code snipped on http://www.gimpel.com/html/newbugs/bug504.htm …
- 22:34 Ticket #194 (Identify undefined preprocessor variable) created by
- found this code on gimpel software homepage ( bug553.cpp ). It is out of …
- 19:34 Ticket #184 (Tokenizer - Simplification: Split up variable declarations) closed by
- fixed: Fixed by: …
03/17/09:
- 23:22 Ticket #193 (GUI: Filter messages depending on their type) created by
- Is it possible to implement a flag to avoid the warnings, currently …
- 23:13 Ticket #191 (semicolon after #endif stop tokenizing of function) closed by
- fixed: Fixed by …
- 22:46 Ticket #192 (alternate C-style parameter declaration not properly tokenized) created by
- This code. […] will be tokenized to: […] There are various …
- 22:42 Ticket #191 (semicolon after #endif stop tokenizing of function) created by
- This code […] will be tokenized to […] in the processing without …
- 22:35 Ticket #190 (Variable id missing for std::string variables.) created by
- This code: […] Generates this token list: […] No variable id for …
- 22:14 Ticket #189 (false positive: Redundant condition save to deallocate a null pointer) created by
- […] cppcheck says: (style) Redundant condition. It is safe to …
- 21:43 Ticket #188 (Return of auto variable address) created by
- The following code produces always an abnormal behavior: void func(int …
- 21:33 Ticket #187 (Check switch/case/break) created by
- Normally the lack of break between the case of a switch is a …
- 19:55 Ticket #170 (tokenize negative numbers) closed by
- fixed: Fixed by: …
- 19:33 Ticket #186 (runtime error when checking code that has a namespace) closed by
- fixed
- 17:57 Ticket #149 (checked the source of cppchek with itself) closed by
- fixed: I added a todo test case for this in the teststl file. I refactored the …
- 11:50 Ticket #186 (runtime error when checking code that has a namespace) created by
- Simplified code that I am trying to check: […] I get a runtime error …
- 09:53 Ticket #185 (preprocessor: check the defines) created by
- Spelling errors in ifdefs can be very hard to detect. Maybe the user …
03/16/09:
- 23:39 Ticket #149 (checked the source of cppchek with itself) reopened by
- checked the current version again: […]
- 21:22 Ticket #179 (preprocessor issues) closed by
- fixed: Fixed by …
- 17:45 Ticket #184 (Tokenizer - Simplification: Split up variable declarations) created by
- The tokenizer needs to split up variable declarations. Something like: …
- 17:20 Ticket #82 (new check: buffer overrun with dynamic memory) closed by
- fixed: Fixed by: …
- 11:58 Ticket #183 (Comparison of floating point variables) closed by
- wontfix: Thank you, but this is detected by gcc: […]
- 08:15 Ticket #183 (Comparison of floating point variables) created by
- […] comparision of two floating point variables can lead to unexpected …
- 06:30 Ticket #182 (uninitialized reference is used to initialize a reference) closed by
- wontfix: Thanks, but GCC detects this when using the "-Wuninitialized" command line …
03/15/09:
- 21:21 Ticket #182 (uninitialized reference is used to initialize a reference) created by
- An uninitialized reference 'Symbol' is being used to initialize …
- 19:19 Ticket #155 (check size of a variable whose type is a sized array) reopened by
- sorry. I didn't know about this problem.
- 19:08 Ticket #155 (check size of a variable whose type is a sized array) closed by
- invalid: I can't understand what is wrong with the code.
- 19:05 Ticket #180 (Templates: Expanding member functions that are not implemented inline) closed by
- fixed: Fixed by …
- 16:09 Ticket #175 (Templates: Rename constructor and destructor in the class definition.) closed by
- fixed: Fixed by …
- 12:52 Ticket #176 (Warning about initialization of Base class) closed by
- wontfix: Closing this as wontfix as compiler provides the check.
- 12:47 Ticket #177 (Tokenizer doesn't add braces around if-scope) closed by
- fixed: Fixed by …
- 12:24 Ticket #181 (#pragma causes wrong line numbers) closed by
- fixed: Fixed by …
- 11:23 Ticket #181 (#pragma causes wrong line numbers) created by
- This code: […] is tokenized to […] So it appears the #pragma …
- 08:24 Ticket #178 (Token::link() return NULL for a function) closed by
- wontfix: GCC detects this typo. When I compile ygv608.c with gcc version 4.3.2 I …
- 07:54 Ticket #180 (Templates: Expanding member functions that are not implemented inline) created by
- Code: […] A copy of "Fred :: Fred" must be created with the name …
- 00:36 Ticket #179 (preprocessor issues) created by
- This code: […] is tokenized to […] There are two issues: 1. all …
- 00:34 Ticket #174 (Token::link() doesn't work with code without braces) closed by
- fixed: Fixed by …
03/14/09:
- 23:27 Ticket #178 (Token::link() return NULL for a function) created by
- Token::link() will return NULL for the function ShowYGV608Registers() in …
- 22:29 Ticket #177 (Tokenizer doesn't add braces around if-scope) created by
- This code: […] will be tokenized to: […] The if-scope is clearly …
- 22:25 Ticket #176 (Warning about initialization of Base class) created by
- by checking the following code: […] if the programmer forgets to …
- 22:09 Ticket #175 (Templates: Rename constructor and destructor in the class definition.) created by
- Hi friends, checking the following code with cppcheck brings a false …
- 20:28 Ticket #173 (templates with several type arguments) closed by
- fixed: Fixed by …
- 20:24 Ticket #174 (Token::link() doesn't work with code without braces) created by
- This code […] will be tokenized to […] but Token::link() will …
- 19:31 Ticket #173 (templates with several type arguments) created by
- Currently only templates with a single type argument is expanded. Expand …
- 19:22 Ticket #172 (Memory leak: allocation in initialization list) closed by
- fixed: Fixed by …
- 18:19 Ticket #161 (Feature Request::Memory leak due to inheritance) closed by
- wontfix: cppcheck gives a warning that the destructor is not virtual. So this …
- 18:17 Ticket #172 (Memory leak: allocation in initialization list) created by
- Memory leaks are not detected if the variable is allocated in the …
03/13/09:
- 22:46 Ticket #169 (Add Token::link()) closed by
- fixed: Fixed by …
- 21:15 Ticket #171 (Detect leaving characters in the input buffer) created by
- C input (and output) functions buffer data. Buffering stores data in …
- 16:33 Ticket #170 (tokenize negative numbers) created by
- Negative numbers are not tokenized correctly. The '-' is always put in its …
- 07:00 Ticket #169 (Add Token::link()) created by
- Token::link() could return the ending "}" for the "{".
03/12/09:
- 23:08 Ticket #151 (Handling of namespaces) closed by
- fixed: Fixed by …
- 21:31 Ticket #168 (buffer overflow: not enough room for the null terminator ...) created by
- char str[30]; only has room for only 29 (not 30) actually data …
- 21:31 Ticket #167 (using '=' instead of '==') closed by
- wontfix: GCC already provides warnings for this. If you give the "-Wall" flag.
- 21:23 Ticket #167 (using '=' instead of '==') created by
- #include <iostream> int main() { int x = 5; if ( x = 6 ) std::cout …
- 20:55 Ticket #165 (memory leak not being detected) closed by
- invalid: cppcheck has to assume that func2 can for example deallocate "Vector", so …
- 20:38 Ticket #166 ("Uninitialized variable in constructor" not detected) closed by
- fixed: http://github.com/danmar/cppcheck/commit/f96e2deb1a3556fd4b56c227d71823a81b …
- 19:58 Ticket #163 (gcc-3.3 does not know the -Wextra flag) closed by
- wontfix: The solution right now is to remove the "-Wextra" manually. It's a simple …
- 19:22 Ticket #164 (can't compile with gcc-2.95) closed by
- wontfix: I can't find any clean solution for this issue and it looks like this is a …
- 19:09 Ticket #166 ("Uninitialized variable in constructor" not detected) created by
- […] If you remove the "const" it is detected.
- 18:44 Ticket #165 (memory leak not being detected) created by
- […] If you comment the call of func2, it is being detected.
- 16:57 Ticket #154 (Check for unsigned division) closed by
- duplicate: It feels as a duplicate
- 15:56 Ticket #149 (checked the source of cppchek with itself) closed by
- invalid: There are no leaks in the gui. If you use the "--auto-dealloc" flag these …
- 15:14 Ticket #164 (can't compile with gcc-2.95) created by
- ~/Desktop/cppcheck-1.30$ make g++-2.95 -Wall -pedantic -g -o tools/errmsg …
- 07:58 Ticket #163 (gcc-3.3 does not know the -Wextra flag) created by
- make g++-3.3 -Wall -Wextra -pedantic -g -o tools/errmsg tools/errmsg.cpp …
03/11/09:
- 22:48 Ticket #162 (Feature Request:: Initialisation of a variable by itself) created by
- […] cppcheck does not detect this issue.
- 22:44 Ticket #161 (Feature Request::Memory leak due to inheritance) created by
- class Base { public: Base(){}; ~Base(){}; }; class Derived:public …
- 22:30 Ticket #160 (FeatureRequest::Using fgetc(),getc() and getchar() correctly) created by
- The fgetc(), getc() and getchar() functions all return back an integer …
- 22:14 Ticket #159 (FeatureRequest::compare strings with ==) created by
- The compiler does not warn about such a case: char st1[] = "weggy"; …
- 22:07 Ticket #158 (New check: infinite loop) created by
- int i = 5; while( i > 0 ); i--;
- 21:56 Ticket #157 (Feature Request::Forgetting to put a break in a switch statement) created by
- […] The output is Two Three Maybe cppchek can detect such errors?
- 21:08 Ticket #156 (Feature Request::division by zero) created by
- #include <iostream> int main() { double t = 1.; int i = 0; …
- 20:58 Ticket #149 (checked the source of cppchek with itself) reopened by
- checked it again …
- 18:18 Ticket #150 (Template functions) closed by
- fixed: fixed by …
- 15:17 Ticket #155 (check size of a variable whose type is a sized array) created by
- In some cases, i think this bug can cause a bad result. So, i added a …
- 15:01 Ticket #154 (Check for unsigned division) created by
- […]
- 14:47 Ticket #153 (Unsigned divide) created by
- […]
- 12:38 Ticket #152 (Check for object slicing) created by
- Object slicing occurs when a derived class object is copied to a base …
03/10/09:
- 19:51 Ticket #134 (memory leak not detected) closed by
- fixed: Fixed by …
- 18:34 Ticket #151 (Handling of namespaces) created by
- This leak is currently not detected, because of the namespace. […]
- 16:50 Ticket #150 (Template functions) created by
- A function should be added to the tokenizer that expands template …
Note: See TracTimeline
for information about the timeline view.