Changeset 65571 in webkit for trunk/JavaScriptCore/ChangeLog


Ignore:
Timestamp:
Aug 17, 2010, 4:05:50 PM (15 years ago)
Author:
[email protected]
Message:

Bug 44099 - REGRESSION(r65468): Crashes in StringImpl::find

Reviewed by Sam Weinig.

Bug 44080 introuduced a couple of cases in which array bounds could be overrun.
One of these was fixed in r65493, this patch fixes the other and address the
concerns voiced in comment #6 by restructuring the loops to remove the code
dupliction without introducing an additional if check.

  • wtf/text/StringImpl.cpp:

(WTF::StringImpl::find):
(WTF::StringImpl::findIgnoringCase):
(WTF::StringImpl::reverseFind):
(WTF::StringImpl::reverseFindIgnoringCase):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r65502 r65571  
     12010-08-17  Gavin Barraclough  <[email protected]>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Bug 44099 - REGRESSION(r65468): Crashes in StringImpl::find
     6
     7        Bug 44080 introuduced a couple of cases in which array bounds could be overrun.
     8        One of these was fixed in r65493, this patch fixes the other and address the
     9        concerns voiced in comment #6 by restructuring the loops to remove the code
     10        dupliction without introducing an additional if check.
     11
     12        * wtf/text/StringImpl.cpp:
     13        (WTF::StringImpl::find):
     14        (WTF::StringImpl::findIgnoringCase):
     15        (WTF::StringImpl::reverseFind):
     16        (WTF::StringImpl::reverseFindIgnoringCase):
     17
    1182010-08-17  No'am Rosenthal  <[email protected]>
    219
Note: See TracChangeset for help on using the changeset viewer.