Changeset 209413 in webkit


Ignore:
Timestamp:
Dec 6, 2016, 1:03:43 PM (9 years ago)
Author:
msaboff@apple.com
Message:

REGRESSION(r209399): Causes crashes when dumping JIT disassembly
https://bugs.webkit.org/show_bug.cgi?id=165483

Reviewed by Geoffrey Garen.

Fixed the RELEASE_ASSERT() to check that the 6 character string is terminated by a null
character.

  • wtf/SixCharacterHash.cpp:

(WTF::sixCharacterHashStringToInteger):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r209399 r209413  
     12016-12-06  Michael Saboff  <msaboff@apple.com>
     2
     3        REGRESSION(r209399): Causes crashes when dumping JIT disassembly
     4        https://bugs.webkit.org/show_bug.cgi?id=165483
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Fixed the RELEASE_ASSERT() to check that the 6 character string is terminated by a null
     9        character.
     10
     11        * wtf/SixCharacterHash.cpp:
     12        (WTF::sixCharacterHashStringToInteger):
     13
    1142016-12-04  Darin Adler  <darin@apple.com>
    215
  • trunk/Source/WTF/wtf/SixCharacterHash.cpp

    r209399 r209413  
    5151    }
    5252
    53     RELEASE_ASSERT(string[6]); // FIXME: Why does this need to be a RELEASE_ASSERT?
     53    RELEASE_ASSERT(!string[6]); // FIXME: Why does this need to be a RELEASE_ASSERT?
    5454
    5555    return hash;
Note: See TracChangeset for help on using the changeset viewer.