On Sat, Jul 23, 2005 at 01:56:00PM -0400, Anthony DeRobertis wrote:
> Kevin Dwyer wrote:
> 
> > -     while (*scratch != '\n') {
> > +     while (*scratch != '\n' && idx < sizeof Description) {
> 
> I strongly suspect that should be sizeof(Description)-1 because you're
> going to NULL-terminate... (didn't go back and look at the code to check
> closely)

Correct.  I just glanced at it and didn't test/commit that change.

-kpd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to