/[pcre]
ViewVC logotype

Revision 1152


Jump to revision: Previous Next
Author: chpe
Date: Sun Oct 21 16:53:51 2012 UTC (6 years, 7 months ago)
Changed paths: 1
Log Message:
valgrind: Mark excess code space as unaddressable

When PCRE compiles a pattern, the required space is first estimated and this
amount of memory is then allocated. For some patterns, the actually required
code space is less than that, which means that the end of the code space is
unused. This patch marks that region as unaddressable, so that valgrind will
signal an error when it is accessed.

Changed paths:

Path Details
Directorycode/trunk/pcre_compile.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.5