Home GnuPG

Fix buffer overrun in gettag for Poly1305
6821e1bd9496Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix buffer overrun in gettag for Poly1305

* cipher/cipher-poly1305.c: copy a fixed length instead of the
  user-supplied number.

The outbuflen is used to check the minimum size, the real tag is always
of fixed length.

  • Signed-off-by: Peter Wu <peter@lekensteyn.nl>

Details

Provenance
LekensteynAuthored on Mar 23 2016, 3:45 AM
wernerCommitted on Mar 23 2016, 12:43 PM
Parents
rC15785bc9fb17: cipher: Check length of supplied tag in _gcry_cipher_gcm_check_tag.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC6821e1bd9496: Fix buffer overrun in gettag for Poly1305 (authored by Peter Wu <peter@lekensteyn.nl>).Mar 23 2016, 12:43 PM