Re: htdig3-dev URL.cc


Geoff Hutchison (ghutchis@wso.williams.edu)
Wed, 6 Jan 1999 12:59:34 -0500


>I think I have discovered a bug in htlib/URL.cc, Line 161:
>
>Shouldn't
> *params++ = '\0';
>be
> *anchor = '\0';

I think you're correct that this is a bug. After all, the while loop
wouldn't exit until *params is null. Since *anchor isn't null-terminated at
the end of the while loop, we need to do so.

-Geoff



This archive was generated by hypermail 2.0b3 on Thu Jan 07 1999 - 07:52:39 PST