On Mon, Mar 03, 2008 at 06:14:29PM +0100, Johannes Hofmann wrote:
Hi Jorge,
On Mon, Mar 03, 2008 at 02:04:25PM -0300, Jorge Arellano Cid wrote:
Hi Johannes,
On Mon, Mar 03, 2008 at 05:16:51PM +0100, Johannes Hofmann wrote:
Hi,
after updating to latest CVS, I got the following segfault when submitting a simple form:
[...] I think the problem is, that boundary only gets initialized if form->enc == DILLO_HTML_ENC_MULTIPART.
It doesn't segfault for me. Anyway I committed a small fix. Please test and post the URL that was triggering the bug.
Yes, that fixes it.
Good!
It was crashing on every form submit I tried (e.g. www.google.com). I also got a compiler warning:
html.cc:3945: warning: 'boundary' may be used uninitialized in this function
Funny how it worked OK here for google, linuxpackages and our bug track engine. Even more, I don't get a compiler warning with: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) -- Cheers Jorge.-