qemu-e2k/libcacard
Christophe Fergeau a5aa842a05 libcacard: fix soft=... parsing in vcard_emul_options
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>
2011-07-22 18:05:36 +03:00
..
cac.c
cac.h
card_7816.c
card_7816.h
card_7816t.h
event.c
eventt.h
link_test.c
Makefile libcacard: add libcacard.la target 2011-06-14 09:34:34 -05:00
vcard_emul_nss.c libcacard: fix soft=... parsing in vcard_emul_options 2011-07-22 18:05:36 +03:00
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 Fix typos in comments (existance -> existence) 2011-05-08 10:02:17 +01:00
vscclient.c libcacard: add vscclient 2011-04-01 19:07:49 -05:00