Changeset 82207 in webkit


Ignore:
Timestamp:
Mar 29, 2011 12:59:16 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-03-29 Ben Taylor <bentaylor.solx86@gmail.com>

Reviewed by Darin Adler.

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

Fix crash on misaligned reads on Solaris 10/Sparc

  • wtf/text/AtomicString.cpp: (WTF::equal):
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r82173 r82207  
     12011-03-29  Ben Taylor  <bentaylor.solx86@gmail.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=57256
     6
     7        Fix crash on misaligned reads on Solaris 10/Sparc
     8
     9        * wtf/text/AtomicString.cpp:
     10        (WTF::equal):
     11
    1122011-03-28  Oliver Hunt  <oliver@apple.com>
    213
  • trunk/Source/JavaScriptCore/wtf/text/AtomicString.cpp

    r81563 r82207  
    143143    // FIXME: perhaps we should have a more abstract macro that indicates when
    144144    // going 4 bytes at a time is unsafe
    145 #if CPU(ARM) || CPU(SH4) || CPU(MIPS)
     145#if CPU(ARM) || CPU(SH4) || CPU(MIPS) || CPU(SPARC)
    146146    const UChar* stringCharacters = string->characters();
    147147    for (unsigned i = 0; i != length; ++i) {
Note: See TracChangeset for help on using the changeset viewer.