/[pcre]/code/tags/pcre-8.33/pcre_compile.c
ViewVC logotype

Diff of /code/tags/pcre-8.33/pcre_compile.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1148 by zherczeg, Sat Oct 20 20:52:52 2012 UTC revision 1152 by chpe, Sun Oct 21 16:53:51 2012 UTC
# Line 8129  if debugging, leave the test till after Line 8129  if debugging, leave the test till after
8129  if (code - codestart > length) errorcode = ERR23;  if (code - codestart > length) errorcode = ERR23;
8130  #endif  #endif
8131    
8132    #ifdef SUPPORT_VALGRIND
8133    /* If the estimated length exceeds the really used length, mark the extra
8134    allocated memory as unadressable, so that any out-of-bound reads can be
8135    detected. */
8136    VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar));
8137    #endif
8138    
8139  /* Fill in any forward references that are required. There may be repeated  /* Fill in any forward references that are required. There may be repeated
8140  references; optimize for them, as searching a large regex takes time. */  references; optimize for them, as searching a large regex takes time. */
8141    

Legend:
Removed from v.1148  
changed lines
  Added in v.1152

  ViewVC Help
Powered by ViewVC 1.1.5