a5aa842a05
The previous parser had copy and paste errors when computing vname_length and type_params_length, "name" was used instead of respectively vname and type_params. This led to length that could be bigger than the input string, and to access out of the array bounds when trying to copy these strings. valgrind rightfully complained about this. It also didn't handle empty fields correctly, Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Reviewed-by: Alon Levy <alevy@redhat.com> |
||
---|---|---|
.. | ||
cac.c | ||
cac.h | ||
card_7816.c | ||
card_7816.h | ||
card_7816t.h | ||
event.c | ||
eventt.h | ||
link_test.c | ||
Makefile | ||
vcard_emul_nss.c | ||
vcard_emul_type.c | ||
vcard_emul_type.h | ||
vcard_emul.h | ||
vcard.c | ||
vcard.h | ||
vcardt.h | ||
vevent.h | ||
vreader.c | ||
vreader.h | ||
vreadert.h | ||
vscard_common.h | ||
vscclient.c |