mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-12 09:24:29 -05:00
adjust slot count for 48 byte size class
This commit is contained in:
parent
56e4c7e042
commit
c59c97c65b
@ -14,7 +14,7 @@ size_classes = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
size_class_slots = [
|
size_class_slots = [
|
||||||
256, 128, 128, 64, 51, 42, 36, 64,
|
256, 128, 85, 64, 51, 42, 36, 64,
|
||||||
51, 64, 54, 64,
|
51, 64, 54, 64,
|
||||||
64, 64, 64, 64,
|
64, 64, 64, 64,
|
||||||
64, 64, 64, 64,
|
64, 64, 64, 64,
|
||||||
|
2
malloc.c
2
malloc.c
@ -151,7 +151,7 @@ static const uint16_t size_classes[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const uint16_t size_class_slots[] = {
|
static const uint16_t size_class_slots[] = {
|
||||||
/* 16 */ 256, 128, 128, 64, 51, 42, 36, 64,
|
/* 16 */ 256, 128, 85, 64, 51, 42, 36, 64,
|
||||||
/* 32 */ 51, 64, 54, 64,
|
/* 32 */ 51, 64, 54, 64,
|
||||||
/* 64 */ 64, 64, 64, 64,
|
/* 64 */ 64, 64, 64, 64,
|
||||||
/* 128 */ 64, 64, 64, 64,
|
/* 128 */ 64, 64, 64, 64,
|
||||||
|
Loading…
Reference in New Issue
Block a user