diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-07-22 13:42:18 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-22 18:05:36 +0300 |
commit | a5aa842a0597ef9a24e80966b02ca01f287fb334 (patch) | |
tree | de7d608003b94e60827afec1db8687fb543b8a2a /sysconfigs/target | |
parent | 009651675afc775fc77018273a47fb36c28a8100 (diff) |
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>
Diffstat (limited to 'sysconfigs/target')
0 files changed, 0 insertions, 0 deletions