Re: PATCH [trunk] gengtype should generate ggc_alloc macros in plugin mode on for plugin files

2011-04-14 Thread Basile Starynkevitch
On Fri, 15 Apr 2011 06:38:46 +0300 Laurynas Biveinis wrote: > 2011/4/11 Basile Starynkevitch : > > > > The attached file improves the situation, by flagging input files and > > generating ggc_alloc macros only relevant to plugin files. > > What about include files in plugins? Are these marked as

[Patch, libfortran] Replace sprintf() with snprintf()

2011-04-14 Thread Janne Blomqvist
Hi, as is well known, sprintf() is prone to buffer overflow, hence snprintf(). libgfortran uses snprintf() in some places, but not everywhere. Rather than analyzing every sprintf() call for a potential overflow, the attached patch takes the dogmatic but simple approach of replacing all the remaini

<    1   2