https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83168
--- Comment #9 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Mon Dec 4 03:51:28 2017 New Revision: 255373 URL: https://gcc.gnu.org/viewcvs?rev=255373&root=gcc&view=rev Log: 2017-12-03 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from trunk PR libgfortran/83168 * io/write.c (select_string): Bump size by one to avoid overrun. Modified: branches/gcc-7-branch/libgfortran/ChangeLog branches/gcc-7-branch/libgfortran/io/write.c