[Webkit-unassigned] [Bug 131615] New: fix potential truncation in x86assembler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 14 07:16:16 PDT 2014


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

           Summary: fix potential truncation in x86assembler
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 8
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex.christensen at flexsim.com
                CC: darin at apple.com, ggaren at apple.com


My solution to https://bugs.webkit.org/show_bug.cgi?id=131508 truncates the size_t (which is a 64-bit integer) to an unsigned (which is a 32-bit integer in Windows) before taking the minimum of it an 15, which could lead to truncation problems.  Truncating after the call to std::min should fix it.

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