Werner Koch
014b2103fc
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 20:24:52 +02:00
..
2013-11-27 09:32:43 +01:00
2011-08-04 12:22:04 +02:00
2014-04-22 12:45:55 +02:00
2009-12-21 16:19:09 +00:00
2011-07-07 11:20:53 +02:00
2011-12-02 19:28:02 +01:00
2012-05-24 10:55:11 +02:00
2007-11-19 16:03:50 +00:00
2009-09-03 11:29:25 +00:00
2014-06-20 20:24:52 +02:00
2013-12-11 10:33:25 +01:00
2007-11-19 16:03:50 +00:00
2007-11-19 16:03:50 +00:00
2007-11-19 16:03:50 +00:00
2013-10-11 09:18:01 +02:00
2014-06-03 08:05:54 +02:00
2013-04-23 18:06:46 +02:00
2007-07-04 19:49:40 +00:00
2007-11-19 16:03:50 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2014-06-02 11:56:06 +02:00
2013-05-07 21:17:04 +02:00
2014-06-03 08:44:08 +02:00
2013-01-03 20:21:20 +01:00
2013-08-19 11:22:11 +02:00
2007-12-04 15:00:14 +00:00
2013-10-04 13:44:39 +02:00
2007-07-04 19:49:40 +00:00
2013-01-03 20:21:20 +01:00
2009-12-21 16:19:09 +00:00
2013-10-11 09:18:01 +02:00
2014-06-03 08:05:50 +02:00
2011-07-01 10:33:43 +02:00
2012-05-24 10:55:11 +02:00
2009-07-20 11:02:20 +00:00
2009-04-03 10:34:22 +00:00
2007-07-04 19:49:40 +00:00
2013-10-11 09:18:01 +02:00
2014-06-03 08:55:31 +02:00
2014-06-02 17:33:18 +02:00
2013-05-07 21:17:04 +02:00
2007-11-19 16:03:50 +00:00
2014-06-03 08:55:31 +02:00
2007-07-04 19:49:40 +00:00
2000-07-31 08:04:16 +00:00
2014-06-03 08:44:08 +02:00
2013-08-06 10:04:12 +02:00
2009-09-03 20:51:55 +00:00
2014-06-02 18:38:04 +02:00
2013-10-11 09:18:01 +02:00
2014-06-03 08:55:31 +02:00
2008-10-03 20:00:46 +00:00
2012-12-19 11:29:37 +01:00
2011-06-13 14:35:30 +02:00
2007-07-04 19:49:40 +00:00
2010-05-12 10:53:02 +00:00
2007-07-04 19:49:40 +00:00
2009-06-05 14:11:03 +00:00
2000-07-31 08:04:16 +00:00
2009-06-24 14:03:09 +00:00
2008-12-12 12:01:20 +00:00
2008-12-12 08:54:50 +00:00
2010-03-12 17:24:06 +00:00
2010-02-12 15:15:34 +00:00
2009-06-05 14:11:03 +00:00
2014-06-03 08:44:08 +02:00
2013-10-11 09:18:01 +02:00
2009-05-26 09:29:02 +00:00
2009-08-06 20:12:00 +00:00
2008-12-11 17:44:52 +00:00
2008-10-20 13:53:23 +00:00
2013-10-11 09:25:58 +02:00
2013-10-11 09:25:58 +02:00
2007-11-19 16:03:50 +00:00
2013-10-11 09:25:58 +02:00
2012-01-19 23:03:56 -05:00
2008-10-20 13:53:23 +00:00