FW: [Bug time/23976] trunk/timezone/zdump.c:811: missing call to va_end ?

Hello there, Forwarded bug report ________________________________________ https://sourceware.org/bugzilla/show_bug.cgi?id=23976 --- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- This code is imported from external sources and not modified locally in glibc. Please report your concern to tz@iana.org, not here. -- You are receiving this mail because: You reported the bug.

Thanks, I installed the attached patch into the tzdb development repository. How did you discover the problem? The problem should occur only if !HAVE_SNPRINTF, which by default occurs only if __STDC_VERSION__ < 199901. Were you compiling with a pre-C99 compiler? Although you earlier reported this as a glibc bug <https://sourceware.org/bugzilla/show_bug.cgi?id=23976>, as I understand it glibc has required C99 for quite some time.

Hello there,
How did you discover the problem?
I used a static C/C++ analyser called cppcheck. Home page at http://cppcheck.sourceforge.net/ I find it very useful for all C/C++ work. Regards David Binderman

On 2018-12-12 09:20, David Binderman wrote:
Paul Eggert wrote:
How did you discover the problem? I used a static C/C++ analyser called cppcheck. Home page at http://cppcheck.sourceforge.net/ I find it very useful for all C/C++ work.
https://pkgs.org/download/cppcheck q.v. [pkgs.org now lists all packages available for multiple releases of most Unix distros including BSDs - you can set and save your *default* distro and release preference if you allow cookies - but can pick any to override for any search] -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised.
participants (3)
-
Brian Inglis
-
David Binderman
-
Paul Eggert