[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 14:52:40 PST 2008


opendarwin at lapcatsoftware.com changed:

           What    |Removed                     |Added
                 CC|                            |opendarwin at lapcatsoftware.co
                   |                            |m

------- Comment #8 from opendarwin at lapcatsoftware.com  2008-01-01 14:52 PDT -------
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.

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