kbx: Fix possible segv in kbxdump.
authorWerner Koch <wk@gnupg.org>
Fri, 15 Nov 2013 07:36:39 +0000 (08:36 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 15 Nov 2013 08:01:11 +0000 (09:01 +0100)
commit9ae48b173c93f4747a9826beb1fbd023c4362c22
treea9b7abdb827b7849e0016ce5761c89d24987a6db
parentb27161cd0c76ae6e2381f60c3a502cde3a2aaa21
kbx: Fix possible segv in kbxdump.

* kbx/keybox-dump.c (_keybox_dump_blob): Check length before get32.

Signed-off-by: Werner Koch <wk@gnupg.org>
kbx/keybox-dump.c