Wilco Dijkstra
5ad533e8e6
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.
2019-05-10 16:38:21 +01:00
..
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-04-23 13:12:25 -07:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-04-18 17:30:06 -03:00
2019-05-08 15:29:13 +02:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-05-10 16:38:21 +01:00
2019-04-18 17:30:06 -03:00
2014-01-02 09:40:10 +01:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:15:13 +00:00
2019-02-25 13:19:19 +00:00
2019-01-01 00:11:28 +00:00
2019-04-09 10:56:51 -04:00
2019-01-01 00:15:13 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2018-02-10 16:24:17 -05:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-04-18 17:30:06 -03: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
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-05-08 15:29:13 +02:00
2017-11-16 11:49:26 +05:30
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-04-18 17:30:06 -03:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2014-11-05 15:24:08 +05:30
2019-04-18 17:30:06 -03:00
2019-04-18 17:30:06 -03:00
2019-01-01 00:11:28 +00:00
2019-04-18 17:30:06 -03:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2019-01-01 00:11:28 +00:00
2007-12-16 22:57:57 +00:00
2019-04-18 17:30:06 -03:00
2017-06-21 22:43:57 +02:00