776_0001-gpg-Make-ASCII-armor-decoding-more-robust-to-encodin.patch
AbandonedPublic

Authored by neal on Feb 14 2016, 4:02 PM.

Details

Reviewers
None
Summary

From 7f88466f33c09b4fa43074a94ce6270aa3490987 Mon Sep 17 00:00:00 2001
From: "Neal H. Walfield" <neal@g10code.com>
Date: Sun, 14 Feb 2016 16:00:10 +0100
Subject: [PATCH] gpg: Make ASCII armor decoding more robust to encoding
errors.

  • g10/armor.c (radix64_read): If the = is followed by the string "3D",

check if the following four characters are valid radix 64 and are
followed by a new line. If so, warn and ignore the '3D'.

Signed-off-by: Neal H. Walfield <neal@g10code.com>

GnuPG-bug-id: 2250

g10/armor.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

2.1.4

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped