[Webkit-unassigned] [Bug 44096] New: Geolocation clearWatch() needs to protect against invalid IDs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 17 03:05:35 PDT 2010


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

           Summary: Geolocation clearWatch() needs to protect against
                    invalid IDs
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
                CC: jschuh at chromium.org


Geolocation uses HashMap to store watch requests, keyed off the watch ID. Key values of 0 or -1 must not be used with HashMap. Geolocation does not use these values internally, but we need to protect against them being passed to clearWatch() from JavaScript.

This was first reported in https://bugs.webkit.org/show_bug.cgi?id=39879#c60

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