mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd: Relax a condition for p15 driver.
* scd/app-p15.c (read_ef_aodf): Fix. -- Fixes-commit: 3c1ad96f1ce838daf2d861b33e6611f6d3043d25 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
3c1ad96f1c
commit
7501f2e9c4
@ -1823,7 +1823,7 @@ read_ef_aodf (app_t app, unsigned short fid, aodf_object_t *result)
|
||||
if (!err && (objlen > nn
|
||||
|| class != CLASS_UNIVERSAL || tag != TAG_ENUMERATED))
|
||||
err = gpg_error (GPG_ERR_INV_OBJ);
|
||||
if (!err && || objlen > sizeof (ul))
|
||||
if (!err && objlen > sizeof (ul))
|
||||
err = gpg_error (GPG_ERR_UNSUPPORTED_ENCODING);
|
||||
if (err)
|
||||
goto parse_error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user