Changeset 25139


Ignore:
Timestamp:
2012-02-23T12:44:15+13:00 (10 years ago)
Author:
kjdon
Message:

merged with trunk rev 25137

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/mgpp/text/GSDLQueryLex.cpp

    r18340 r25139  
    9999    AddNChar (here, el.text, charLen);
    100100    length += charLen;
    101     charLen = parse_utf8_char (&*here, endMinus1, &c);
     101    if(numeric < MAXNUMERIC) { // server crash bugfix: don't go past the end with the endMinus1 pointer
     102        charLen = parse_utf8_char (&*here, endMinus1, &c);
     103    }
    102104  }
    103105  // check the next character -if it is a letter, then have a term, not an integer
Note: See TracChangeset for help on using the changeset viewer.