[Webkit-unassigned] [Bug 100014] New: IndexedDB: Bounds check for IDBCursor.advance() incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 22 11:01:15 PDT 2012


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

           Summary: IndexedDB: Bounds check for IDBCursor.advance()
                    incorrect
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jsbell at chromium.org
                CC: hans at chromium.org, dgrogan at chromium.org,
                    alecflett at chromium.org


c/o http://crbug.com/151927

../../third_party/WebKit/Source/WebCore/Modules/indexeddb/IDBCursor.cpp:174:28:error: comparison of constant 9007199254740991 with expression of type 'long' is always false [-Werror,-Wtautological-constant-out-of-range-compare]

  if (count < 1 || count > maxECMAScriptInteger) {

count is a long. This comparison should be against 2^32-1 not 2^53-1

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