Ignore:
Timestamp:
Nov 26, 2007, 4:50:36 PM (18 years ago)
Author:
Darin Adler
Message:

JavaScriptCore:

Reviewed by Mitz.

Test: fast/js/regexp-overflow.html

  • pcre/pcre_compile.cpp: (calculateCompiledPatternLengthAndFlags): Removed a stray "ptr++" that I added by accident when merging the changes between PCRE 6.4 and 6.5.

LayoutTests:

Reviewed by Mitz.

  • fast/js/regexp-overflow-expected.txt: Added.
  • fast/js/regexp-overflow.html: Added.
  • fast/js/resources/regexp-overflow.js: Added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre_compile.cpp

    r28018 r28058  
    25002500                            length++;
    25012501                        else length += 5;
    2502                         if (ptr[1] == '?') ptr++;
    2503                         ptr++;
     2502                        if (ptr[1] == '?')
     2503                            ptr++;
    25042504                    }
    25052505                }
Note: See TracChangeset for help on using the changeset viewer.