forked from collectd/collectd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Valgrind: Suppress a bogus invalid read on FreeBSD.
Valgrind reports an invalid read in common.c:parse_value. The error is supposed to happen in strlen() on a just previously strdup()ed string. Possibly, this is some sort of alignment issue. The read size is reported to be 4 on a buffer of size 3. https://bugzilla.redhat.com/show_bug.cgi?id=678518 may also be related.
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
strlen_bogus_invalid_read_after_strdup | ||
Memcheck:Addr4 | ||
fun:parse_value | ||
fun:parse_values | ||
fun:test_parse_values | ||
fun:main | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters