18 lines
640 B
Diff
18 lines
640 B
Diff
|
BZ 1848995 - Intermittent pminfo crashes (core dumps)
|
||
|
51bb36a84 libpcp: minor clarification to previous fix to use __pmHashInit
|
||
|
d0df00ad1 derive_parser.y.in: fix of incomplete initialization of __pmHashCtl struct for F_REGEX node
|
||
|
|
||
|
diff --git a/src/libpcp/src/derive_parser.y.in b/src/libpcp/src/derive_parser.y.in
|
||
|
index 9ed375e01..6756daa77 100644
|
||
|
--- a/src/libpcp/src/derive_parser.y.in
|
||
|
+++ b/src/libpcp/src/derive_parser.y.in
|
||
|
@@ -2598,6 +2598,8 @@ regexpr : opt_bang L_PATTERN
|
||
|
return -1;
|
||
|
}
|
||
|
np->data.pattern->invert = $1;
|
||
|
+ np->data.pattern->used = 0;
|
||
|
+ __pmHashInit(&np->data.pattern->hash);
|
||
|
$$ = np;
|
||
|
}
|
||
|
|