Your message dated Sat, 7 Mar 2020 19:04:02 +0100
with message-id <[email protected]>
and subject line Re: cppcheck: segfault on malformed enum
has caused the Debian Bug report #867726,
regarding cppcheck: segfault on malformed enum
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
867726: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cppcheck
Version: 1.76.1-1

cppcheck crashes on the attached file:

  $ cppcheck enum.cxx
  Checking enum.cxx ...
  Segmentation fault

Backtrace:

#0  0x566dcbb3 in SymbolDatabase::SymbolDatabase (this=0x567e8e30, 
tokenizer=0xffffcc18, settings=0xffffd1c4, errorLogger=0xffffd1b4) at 
lib/symboldatabase.cpp:1230
#1  0x567019e7 in Tokenizer::createSymbolDatabase (this=0xffffcc18) at 
lib/tokenize.cpp:9292
#2  0x56732a26 in Tokenizer::simplifyTokens1 (this=0xffffcc18, 
configuration="") at lib/tokenize.cpp:1716
#3  0x56682f32 in CppCheck::processFile (this=0xffffd1b4, filename="enum.cxx", 
cfgname="", fileStream=...) at lib/cppcheck.cpp:267
#4  0x566848a0 in CppCheck::check (this=0xffffd1b4, path="enum.cxx") at 
lib/cppcheck.cpp:74
#5  0x5659b4d5 in CppCheckExecutor::check_internal (this=<optimized out>, 
cppcheck=..., argv=0xffffd774) at cli/cppcheckexecutor.cpp:820
#6  0x5659c2ea in CppCheckExecutor::check (this=0xffffd66c, argc=2, 
argv=0xffffd774) at cli/cppcheckexecutor.cpp:185
#7  0x56588c71 in main (argc=2, argv=0xffffd774) at cli/main.cpp:136

Found using American fuzzy lop:
http://lcamtuf.coredump.cx/afl/


-- System Information:
Architecture: i386

Versions of packages cppcheck depends on:
ii  libc6            2.24-12
ii  libgcc1          1:7.1.0-9
ii  libpcre3         2:8.39-3
ii  libstdc++6       7.1.0-9
ii  libtinyxml2-4    4.0.1-1
ii  python           2.7.13-2
ii  python-pygments  2.2.0+dfsg-1

--
Jakub Wilk
enum { e=, e2=e1 };

--- End Message ---
--- Begin Message ---
According to the upstream bug tracker http://trac.cppcheck.net/ticket/8117,
this bug has been fixed ~3 years ago. Closing.

--- End Message ---

Reply via email to