A serious security bug... caused by no bounds checking.

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Apr 8 08:02:49 PDT 2014


On Tue, Apr 08, 2014 at 02:46:57AM -0700, Walter Bright wrote:
> On 4/8/2014 1:47 AM, Paulo Pinto wrote:
> >I never got the point of not having bounds checking in C and its ilk.
> 
> C hardly even has arrays.

And just yesterday, I caught yet another long-standing off-by-1 array
overrun bug in the C code I was working on at work, that obviously
nobody else noticed. Sigh...


T

-- 
War doesn't prove who's right, just who's left. -- BSD Games' Fortune


More information about the Digitalmars-d mailing list