ViewVC logotype

Revision 1153

Jump to revision: Previous Next
Author: chpe
Date: Sun Oct 21 16:53:57 2012 UTC (6 years, 11 months ago)
Changed paths: 1
Log Message:
valgrind: pcretest: Mark data buffer as unaddressable after the end of the data

The data buffer is (usually) bigger than the actual data processed. This patch
explicitly marks the excess buffer as unaddressable, so that running under
valgrind will signal invalid memory accesses to it. This seems a better solution
than  memmove'ing the data to the end of the buffer to use the allocated memory
region as the valgrind marker.

Changed paths:

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

  ViewVC Help
Powered by ViewVC 1.1.5