bug-tar
[Top][All Lists]
Advanced

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

RE: [Bug-tar] Unterminated buffer in rtapelib.c


From: Leland Lucius
Subject: RE: [Bug-tar] Unterminated buffer in rtapelib.c
Date: Fri, 27 Feb 2004 08:24:18 -0600

> 
> > +  char operand_buffer[UINTMAX_STRSIZE_BOUND + 1];
> [...]
> > +  *--p = '\0';
> > +
> 
> Thank you. Although increasing size of operand_buffer by one is
> superfluous, since UINTMAX_STRSIZE_BOUND accounts for terminating
> null.
> 
I wasn't sure, so I figured might as well be safe.  :-)

Leland






reply via email to

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