Comment 32 for bug 852760

Revision history for this message
In , Stef (stef-redhat-bugs) wrote :

This also affects p11-kit on both Fedora 19 and Fedora 20.

Running 'make memcheck' target for valgrind on p11-kit exposes this bug with issues like this:

FAIL: test-token
==4047== Invalid read of size 4
==4047== at 0x40EA07: on_pem_block (parser.c:616)
==4047== by 0x41079D: p11_pem_parse (pem.c:228)
==4047== by 0x40DE38: parse_pem_certificates (parser.c:665)
==4047== by 0x40F120: p11_parse_memory (parser.c:753)
==4047== Address 0x54afc20 is 16 bytes inside a block of size 18 alloc'd
==4047== at 0x4A081D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4047== by 0x40E9D8: on_pem_block (parser.c:612)
==4047== by 0x41079D: p11_pem_parse (pem.c:228)
==4047== by 0x40DE38: parse_pem_certificates (parser.c:665)