[Webkit-unassigned] [Bug 12111] Uninitialized variable in -[WebDefaultPolicyDelegate webView:decidePolicyForMIMEType:request:frame:decisionListener:]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 1 15:36:38 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=12111


ddkilzer at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|16700                       |
              nThis|                            |




------- Comment #10 from ddkilzer at webkit.org  2008-01-01 15:36 PDT -------
(In reply to comment #9)
> (In reply to comment #8)
> > This was not a good fix.  -[NSFileManager fileExistsAtPath:isDirectory] may or
> > may not modify the variable isDirectory; that's a private implementation detail
> > of NSFileManager.
> > 
> > What should be done is to check the return value of [[NSFileManager
> > defaultManager] fileExistsAtPath:[[request URL] path] isDirectory:&isDirectory]
> > before using isDirectory.
> 
> Please open a new bug.

Bug 16700.

http://trac.webkit.org/projects/webkit/changeset/18612

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html#//apple_ref/occ/instm/NSFileManager/fileExistsAtPath:isDirectory:


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



More information about the webkit-unassigned mailing list