Loading ...
Sorry, an error occurred while loading the content.

[jasspa] Small regex fix

Expand Messages
  • Steven Phillips
    All, The enclosed fix may avoid a crash but its pretty obscure. Steve ... *************** *** 424,430 **** matchIMNo[matchLen] = matchNo ; matchLen++ ; /*
    Message 1 of 1 , Feb 1, 2000
    • 0 Attachment
      All,

      The enclosed fix may avoid a crash but its pretty obscure.

      Steve

      *** /home/stevenp/me/src/regex.c.~0~ Fri Jan 7 19:59:48 2000
      --- /home/stevenp/me/src/regex.c Tue Feb 1 16:07:08 2000
      ***************
      *** 424,430 ****
      matchIMNo[matchLen] = matchNo ;
      matchLen++ ;
      /* check the match buffer size */
      ! if(matchLen == matchSz)
      {
      meRegexItem **itp, **iap ;
      int *iip ;
      --- 424,430 ----
      matchIMNo[matchLen] = matchNo ;
      matchLen++ ;
      /* check the match buffer size */
      ! if(matchLen >= matchSz)
      {
      meRegexItem **itp, **iap ;
      int *iip ;
    Your message has been successfully submitted and would be delivered to recipients shortly.