Skip to content

Commit 3dda0ea

Browse files
committed
Adds a regression test strdup to valgrind suppressions list
1 parent 2dff768 commit 3dda0ea

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/valgrind_suppressions.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3822,4 +3822,11 @@
38223822
fun:_Z17perform_unit_testPN16modsecurity_test15ModSecurityTestINS_14RegressionTestEEEPSt6vectorIPS1_SaIS5_EEPNS_22ModSecurityTestResultsINS_20RegressionTestResultEEEPi
38233823
fun:main
38243824
}
3825-
3825+
{
3826+
<insert_a_suppression_name_here>
3827+
Memcheck:Leak
3828+
match-leak-kinds: definite
3829+
fun:malloc
3830+
fun:strdup
3831+
fun:main
3832+
}

0 commit comments

Comments
 (0)