/[pcre]/code/trunk/pcre_compile.c
ViewVC logotype

Diff of /code/trunk/pcre_compile.c

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

revision 1313 by ph10, Wed Apr 24 12:07:09 2013 UTC revision 1325 by ph10, Fri May 10 14:03:18 2013 UTC
# Line 8185  if (code - codestart > length) errorcode Line 8185  if (code - codestart > length) errorcode
8185    
8186  #ifdef SUPPORT_VALGRIND  #ifdef SUPPORT_VALGRIND
8187  /* If the estimated length exceeds the really used length, mark the extra  /* If the estimated length exceeds the really used length, mark the extra
8188  allocated memory as unadressable, so that any out-of-bound reads can be  allocated memory as unaddressable, so that any out-of-bound reads can be
8189  detected. */  detected. */
8190  VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar));  VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar));
8191  #endif  #endif

Legend:
Removed from v.1313  
changed lines
  Added in v.1325

  ViewVC Help
Powered by ViewVC 1.1.5