Re: [AD] Patch for rare buffer overflow of do_uconvert with tiny buffer sizes |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro developers mailing list <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Patch for rare buffer overflow of do_uconvert with tiny buffer sizes
- From: Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx>
- Date: Thu, 28 Aug 2003 23:11:30 +0200
On 2003-08-28, Eric Botcazou <ebotcazou@xxxxxxxxxx> wrote:
> > It is not overkill counting as well with a possible integer
> > overflow:
> [...]
> What I like in this testcase is that it is not artificial at
> all ;-)
Well, you should tell me what a game developer is doing copying
16 bit unicode strings to one byte arrays, which is what got me
thinking about these silly extreme test cases in first place :-)
> I guess this is eventually ok.
Commited, with a superb log.