Valgrind does not escape/check isprint() symbol names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
valgrind (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: valgrind
If the symbol names are weirdness, then the visual output from valgrind corrupts the terminal; and if you are really unlucky can change the terminal mode:
==23477== Invalid free() / delete / delete[]
==23477== at 0x402237F: free (vg_replace_
==23477== by 0x7FFD4DF: gconv_end (in /usr/lib/
==23477== by 0x4D8CC64: ���]É$��� (in /lib/tls/
==23477== by 0x4D8CD49: �� (in /lib/tls/
==23477== by 0x4D8CB31: $
==23477== by 0x4D8C12B: iconv_close (in /lib/tls/
==23477== by 0x4C6A7AC: g_iconv_close (in /usr/lib/
==23477== by 0x4C6A7D4: (within /usr/lib/
==23477== by 0x4C6B26C: g_convert (in /usr/lib/
==23477== by 0x48A7E19: _poppler_
==23477== by 0x48A7F1B: (within /usr/lib/
==23477== by 0x48A899A: (within /usr/lib/
==23477== Address 0x8F37A88 is not stack'd, malloc'd or (recently) free'd
==23477==
==23477== Invalid free() / delete / delete[]
==23477== at 0x402237F: free (vg_replace_
==23477== by 0x4012157: (within /lib/ld-2.6.so)
==23477== by 0x40125F6: (within /lib/ld-2.6.so)
==23477== by 0x4E7EE93: �
S (␋┼ /┌␋␉/├┌
==23477== ␉≤ 0│400D025: (┬␋├␋┼ /┌␋␉/┌␍-2.6.⎽⎺)
==23477== ␉≤ 0│4E7F038: __┌␋␉␌_␍┌␌┌⎺⎽␊ (␋┼ /┌␋␉/├┌
==23477== ␉≤ 0│4D9553E: ÿÿÿ␍ÿÿÿ
==23477== ␉≤ 0│4E46747: ü├¶ (␋┼ /┌␋␉/├┌
==23477== ␉≤ 0│4D954CF: BEÇD$ (␋┼ /┌␋␉/├┌
==23477== ␉≤ 0│4D8CC6B: üì]Ã$ÿ (␋┼ /┌␋␉/├┌
==23477== ␉≤ 0│4D8CD49: ¿ (␋┼ /┌␋␉/├┌
Ideally valgrind would escape any literal strings before passing they through to the output.
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.