Buffersize for HTUU_encode

Hello,

we ran into some problems (coredumps) when we used HTUU_encode from HTUU.c.
It turned out to be a problem with the size of the buffer we allocated.
The comments in HTUU.c recommend to allocate at least 1+(4*nbytes)/3 bytes.
This is not enough. You should allocate at least 1+4*(nbytes/3+1) bytes.
Now everything is ok.

HTH,

Heiner Kallweit
Andersen Consulting

Received on Wednesday, 26 April 2000 08:07:04 UTC