g10: Fix out-of-bounds read.
authorJustus Winter <justus@g10code.com>
Tue, 5 Jul 2016 10:38:15 +0000 (12:38 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 5 Jul 2016 10:38:15 +0000 (12:38 +0200)
commita6b87981f7ddef42b25703723162c647e312b125
tree9dc815cd4112bae0742ac57caaa8091c81fb9b41
parent8c8ae043b8d65cb79e0e99c5bdbdcbf34714bd0c
g10: Fix out-of-bounds read.

* g10/armor.c (use_armor_filter): We need two bytes for 'is_armored'.

Signed-off-by: Justus Winter <justus@g10code.com>
g10/armor.c