On Tue, 2009-03-31 at 06:39 +0000, netsurf(a)semichrome.net wrote:
Ensure buffer is big enough for the extra character.
- url_buf = malloc(len + 2 /* '#' + '\0' */);
+ url_buf = malloc(len + 3 /* '#' + '\0' */);
This feels wrong. I'm going to have a poke at the function.
Daniel Silverstone http://www.netsurf-browser.org/
PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895