1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch d6ca407a27 gpg: Avoid infinite loop in uncompressing garbled packets.
* g10/compress.c (do_uncompress): Limit the number of extra FF bytes.
--

A packet like (a3 01 5b ff) leads to an infinite loop.  Using
--max-output won't help if it is a partial packet.  This patch
actually fixes a regression introduced on 1999-05-31 (c34c6769).
Actually it would be sufficient to stuff just one extra 0xff byte.
Given that this problem popped up only after 15 years, I feel safer to
allow for a very few FF bytes.

Thanks to Olivier Levillain and Florian Maury for their detailed
report.
2014-06-20 10:41:38 +02:00
..
2014-04-15 19:44:50 +02:00
2014-01-31 14:35:49 +01:00
2007-07-04 19:49:40 +00:00
2014-06-05 11:19:59 +02:00
2013-11-15 15:49:34 +01:00
2014-04-15 19:44:50 +02:00
2014-05-08 10:28:23 +02:00
2014-06-03 21:35:59 +02:00
2013-11-18 14:09:47 +01:00
2014-06-05 11:19:59 +02:00
2014-06-02 19:50:18 +02:00
2013-11-18 14:09:47 +01:00
2014-06-03 21:35:59 +02:00
2014-04-28 10:36:16 +09:00
2008-12-12 08:54:50 +00:00
2014-03-06 16:23:10 +09:00
2014-01-29 17:45:05 +01:00