This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] [3.1] Remove buffer overflow in __gnat_tmp_name



On Saturday, April 20, 2002, at 03:36 , Florian Weimer wrote:
> The patch below is a minimal one which removes the buffer overflow bug
> on GNU/Linux mentioned in PR ada/5903.
>
> It's not a real solution (especially if we want to port GNAT to The
> Hurd one day, where no proper path length limit exists), but for the
> 3.1 release, it will do.
>
> (Note that other, not so obvious potential buffer overflows remain.  A
> couple of months ago, I listed them in a message to gcc-patches,
> IIRC.)
>
> 2002-04-20  Florian Weimer  <fw@deneb.enyo.de>
>
> 	* adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
>         GNU/Linux.

This is OK. Please apply.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]