Changeset 25139 for main/branches

Show
Ignore:
Timestamp:
23.02.2012 12:44:15 (8 years ago)
Author:
kjdon
Message:

merged with trunk rev 25137

Files:
1 modified

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