On Sunday 18 October 2009, Ruediger Pluem wrote:
> Why do you think that line should be also 3 * MAX_STRING_LEN?
> I guess currently it can be MAX_STRING_LEN at max because of line
> 256:
> 
>     while (!(get_line(line, MAX_STRING_LEN, f))) {
> 
> But maybe this should be changed to
> 
> while (!(get_line(line, 3 * MAX_STRING_LEN, f))) {
> 
> as a password line could be up to 2 * MAX_STRING_LEN + length of
>  MD5 hash in hex + 1.

I wanted htdigest to be able to read the files it writes and chose 3 * 
MAX_STRING_LEN because it is larger than the max password line length.

But I missed the get_line call :-( . Thanks again.

Reply via email to