Wireshark-bugs: [Wireshark-bugs] [Bug 11608] Potential Memory Leaks and Potential NULL pointer d
Date: Wed, 21 Oct 2015 16:27:03 +0000

changed bug 11608


What Removed Added
CC   peter@lekensteyn.nl

Comment # 3 on bug 11608 from
checkAPIs is also suitable for extcap. The reported issues (using the four
tools from pre-comit) are:

Warning: extcap/androiddump.c uses snprintf + strlen to assemble strings.
sprintf,strcat,strdup,g_fprintf,malloc,strerror,freopen

The glib variants are a bit safer to use, it has well-defined behavior when a
NULL pointer is passed in, when malloc fails and is better at abstracting
portability issues. I suggest to fix these issues and remove the whitelist from
pre-commit too.


You are receiving this mail because:
  • You are watching all bug changes.