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-01-01 00:14:16 +00:00
2017-06-16 01:19:30 -07:00
2017-06-23 16:24:40 -03:00
2017-06-15 21:26:20 -07:00
2017-01-01 00:14:16 +00:00
2017-06-15 21:26:20 -07:00
2017-08-02 18:22:58 +05:30
2017-07-27 03:21:56 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2012-02-24 12:58:10 -08:00
2017-06-15 21:26:20 -07:00
2013-09-24 14:06:56 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2013-12-05 09:58:20 +05:30
2017-08-02 18:22:58 +05:30
2016-05-19 23:22:59 -04:00
2012-03-08 01:27:38 +00:00
2014-04-08 17:12:15 -04:00
2017-06-15 21:26:20 -07:00
2017-07-27 04:47:42 -07:00
2011-06-06 16:16:55 -07:00
2016-01-07 04:03:21 -05:00
2017-01-01 00:26:24 +00:00
2014-01-31 23:23:59 -02:00
2017-06-23 10:31:09 -03:00
2018-09-28 15:16:02 -03:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2016-10-06 12:29:11 +05:30
2017-06-15 21:26:20 -07:00
2017-06-26 22:50:45 +00:00
2017-11-28 19:09:25 +05:30
2017-06-15 21:26:20 -07:00
2016-12-21 01:36:58 -08:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2015-08-19 17:43:26 -03:00
2017-11-28 19:09:25 +05:30
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-16 01:23:17 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-12-22 15:23:29 +01:00
2016-12-21 16:05:55 +00:00
2017-06-15 21:26:20 -07:00
2017-06-15 21:26:20 -07:00
2017-01-01 00:14:16 +00:00
2019-05-22 15:41:24 +01:00
2017-06-15 21:26:20 -07:00
2016-01-07 04:03:21 -05:00