diff options
| author | Werner Koch <[email protected]> | 2016-07-05 16:49:06 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2016-07-05 16:49:06 +0000 |
| commit | 5d1a9c4dc823b418db6c4686da55ee3abdf023b0 (patch) | |
| tree | 87d1d2ad8b0ebbfeacb4992d78173bb5642e9154 /g10/gpg.c | |
| parent | tests: Honor environment variable 'TMP'. (diff) | |
| download | gnupg-5d1a9c4dc823b418db6c4686da55ee3abdf023b0.tar.gz gnupg-5d1a9c4dc823b418db6c4686da55ee3abdf023b0.zip | |
gpg: Fix possible out-of-bounds read in is_armored.
* g10/armor.c (check_input): Call is_armored only if LEN >= 2.
(unarmor_pump): Use a 2 byte buffer for is_armored.
--
Fixes-commit: 605276ef8cd449bfd574ae6c498fa5d7d265c5c7
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpg.c')
0 files changed, 0 insertions, 0 deletions
