[Webkit-unassigned] [Bug 43358] New: Fix warning in JavaScriptCore/wtf/ByteArray.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 2 09:25:28 PDT 2010


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

           Summary: Fix warning in JavaScriptCore/wtf/ByteArray.h
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ossy at webkit.org
            Blocks: 43191


../../../JavaScriptCore/wtf/ByteArray.h:66: warning: array subscript is above array bounds

unsigned char get(unsigned index) const
{
    ASSERT(index < m_size);
    return m_data[index];  < -- line 66
}

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