Skip to content

Commit da29ce6

Browse files
authored
Merge pull request #51 from tautschnig/alloca-free
Handle new support for alloca+free errors
2 parents 5fbcded + fb00248 commit da29ce6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tool-wrapper.inc

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ parse_result()
6060
elif tail -n 50 $LOG.ok | \
6161
grep -Eq "^(\[.*\] double free|[[:space:]]*double free$)" ; then
6262
echo 'FALSE(valid-free)'
63+
elif tail -n 50 $LOG.ok | \
64+
grep -Eq "^(\[.*\] free called for stack-allocated object|[[:space:]]*called for stack-allocated object$)" ; then
65+
echo 'FALSE(valid-free)'
6366
elif tail -n 50 $LOG.ok | \
6467
grep -Eq "^(\[.*\] free argument has offset zero|[[:space:]]* free argument has offset zero$)" ; then
6568
if tail -n 50 $LOG.ok | grep -Eq "^[[:space:]]+[a-zA-Z0-9_]+=INVALID-" ; then

0 commit comments

Comments
 (0)