bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bugs in fillHole ?


From: Richard Frith-Macdonald
Subject: Re: Bugs in fillHole ?
Date: Mon, 17 Feb 2003 13:38:35 +0000


On Monday, February 17, 2003, at 01:29 pm, Richard Frith-Macdonald wrote:

Wow,  how could that bug go unnoticed?

Actually, thinking about it, that's fairly easy ... the bug would not cause any problem on most systems ... the read access beyond the end of a block of memory is almost
always safe, and the memcpy code is not used on any system I know of.

However, this *could* in theory have caused very very occasional segmentation violations where the byte after the block of memory allocated for the string is also
beyond the block of memory that malloc allocated using brk()/sbrk()





reply via email to

[Prev in Thread] Current Thread [Next in Thread]