diff options
author | Neal H. Walfield <[email protected]> | 2016-02-25 20:20:32 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-02-25 20:20:32 +0000 |
commit | 960f5e26f2cda3ac6e6b30548fa808a690c39ffc (patch) | |
tree | 60384cc1334e34dd53683dde662f39ca995a3c8b /common/server-help.c | |
parent | gpg: Avoid directly twiddling bits. (diff) | |
download | gnupg-960f5e26f2cda3ac6e6b30548fa808a690c39ffc.tar.gz gnupg-960f5e26f2cda3ac6e6b30548fa808a690c39ffc.zip |
gpg: More carefully encode a packet's length.
* g10/build-packet.c (write_header2): Make sure the length bits are
cleared. Fail if HDRLEN is set and the specified length can't be
encoded in the available space.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions