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 ]


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.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/