[Bugs] [Bug 1640165] io-stats: garbage characters in the filenames generated

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 17 13:46:22 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1640165



--- Comment #2 from Nithya Balachandran <nbalacha at redhat.com> ---
RCA:

dict_unserialize does not null terminate values. conditional_dump () uses
snprintf to create the filename causing a lot of garbage characters to be
included in the buffer.

Fix: Use memcpy.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=sbwPH3GBwQ&a=cc_unsubscribe


More information about the Bugs mailing list