[Webkit-unassigned] [Bug 102394] [Soup] Null-checking is required in cookiesEnabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 15 09:58:30 PST 2012


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





--- Comment #5 from ChangSeok Oh <kevin.cs.oh at gmail.com>  2012-11-15 10:00:18 PST ---
The context could be null, when document or frame or loader is null and also FrameLoaderClient can't provide a proper networking context. Please see netwrokingContext at CookieJar.cpp
Plus, We've also assumed it could be null elsewhere, so checked null like this.

>static String cookiesForContext(NetworkingContext* context, const KURL& url, bool forHTTPHeader)
>{
>    SoupCookieJar* jar = context ? cookieJarForContext(context) : soupCookieJar(); 
> ...

-- 
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