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