[Webkit-unassigned] [Bug 98055] [soup] WebKit crashes when doing a http request

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 1 11:51:31 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=98055





--- Comment #1 from arno. <arno at renevier.net>  2012-10-01 11:51:55 PST ---
Created an attachment (id=166517)
 --> (https://bugs.webkit.org/attachment.cgi?id=166517&action=review)
c testcase: outputs 0 when compiled with -msse2 -mfpmath=sse

c testcase to understand why soup_add_timeout is called with a 0 argument.
This c testcase outputs 0d on i386 platform when compiled with gcc -msse2 -mfpmath=sse overflow.c -o overflow 
when compiled with just gcc  overflow.c -o overflow, it outputs 4294966296d
As default timeout value is double INT_MAX, this explains why
soup_add_timeout(g_main_context_get_thread_default(), d->m_firstRequest.timeoutInterval() * 1000, requestTimeoutCallback, handle);
results in a 0 argument.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list