r251157 - in /trunk/gcc: ChangeLog pretty-print.c
msebor@gcc.gnu.org
msebor@gcc.gnu.org
Thu Aug 17 16:50:00 GMT 2017
Author: msebor
Date: Thu Aug 17 16:50:06 2017
New Revision: 251157
URL: https://gcc.gnu.org/viewcvs?rev=251157&root=gcc&view=rev
Log:
PR c/81859 - [8 Regression] valgrind error from warn_about_normalization
gcc/ChangeLog:
PR c/81859
* pretty-print.c (pp_format): Use strnlen in %.*s to avoid reading
past the end of an array.
(test_pp_format): Add test cases.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/pretty-print.c
More information about the Gcc-cvs
mailing list