File pme-1.0.4-bug.patch of Package pme
--- pme-1.0.4/pme.cpp.orig 2008-07-25 16:35:14.000000000 +0200
+++ pme-1.0.4/pme.cpp 2008-07-25 16:35:29.000000000 +0200
@@ -184,7 +184,7 @@
unsigned offset ///< offset Offset at which to start matching
)
{
- size_t msize;
+ size_t msize=0;
pcre_fullinfo(re, 0, PCRE_INFO_CAPTURECOUNT, &msize);
msize = 3*(msize+1);
int *m = new int[msize];