Wilco Dijkstra
ac92c66821
Fix tcache count maximum (BZ #24531 )
...
The tcache counts[] array is a char, which has a very small range and thus
may overflow. When setting tcache_count tunable, there is no overflow check.
However the tunable must not be larger than the maximum value of the tcache
counts[] array, otherwise it can overflow when filling the tcache.
[BZ #24531 ]
* malloc/malloc.c (MAX_TCACHE_COUNT): New define.
(do_set_tcache_count): Only update if count is small enough.
* manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
(cherry picked from commit 5ad533e8e65092be962e414e0417112c65d154fb)
2019-05-22 15:41:24 +01:00
..
2017-06-21 22:43:57 +02:00
2017-06-21 22:43:57 +02:00
2017-06-21 22:43:57 +02:00
2017-06-21 22:43:57 +02:00
2017-06-21 22:43:57 +02:00
2017-11-28 19:10:16 +05:30
2017-06-02 11:59:28 +02:00
2017-09-06 16:13:53 +02:00
2017-06-02 11:59:28 +02:00
2017-06-02 11:59:28 +02:00
2017-09-06 16:13:53 +02:00
2017-06-13 21:55:10 +02:00
2017-06-19 12:58:08 +02:00
2017-12-06 16:15:47 +01:00
2018-02-08 15:47:05 +01:00
2017-01-01 00:14:16 +00:00
2017-06-30 09:11:24 -07:00
2019-05-22 15:41:24 +01:00
2017-05-30 18:27:57 -03:00
2014-01-02 09:40:10 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:26:24 +00:00
2017-01-01 00:26:24 +00:00
2017-01-01 00:14:16 +00:00
2017-04-18 14:56:51 +02:00
2017-01-01 00:26:24 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-05-30 18:27:57 -03:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-26 09:56:26 -03:00
2017-01-01 00:14:16 +00:00
2017-06-02 11:59:28 +02:00
2017-06-02 11:59:28 +02:00
2017-06-13 21:55:10 +02:00
2017-09-06 16:13:53 +02:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-03-21 16:41:56 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-10-06 10:35:30 -07:00
2017-01-01 00:14:16 +00:00
2017-01-05 17:39:38 +00:00
2018-02-08 15:47:05 +01:00
2016-12-31 23:49:24 +05:30
2016-12-31 23:49:24 +05:30
2016-12-31 23:49:24 +05:30
2017-01-01 00:14:16 +00:00
2017-02-25 09:59:46 -05:00
2017-01-05 17:39:38 +00:00
2005-12-06 00:50:15 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-02-25 09:59:46 -05:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2014-11-05 15:24:08 +05:30
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-12-31 21:21:27 +01:00
2017-05-30 18:27:57 -03:00
2017-01-01 00:14:16 +00:00
2007-12-16 22:57:57 +00:00
2017-01-01 00:14:16 +00:00
2017-06-21 22:43:57 +02:00