Skip to content

Commit 1c47eb0

Browse files
LiiktKyle-Kyle
authored andcommitted
pre 2.30 the count in the metadatastruct was a char
1 parent b502e9a commit 1c47eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glibc_2.27/tcache_metadata_poisoning.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
// This is the `tcache_perthread_struct` (or the tcache metadata)
1919
struct tcache_metadata {
20-
uint16_t counts[TCACHE_BINS];
20+
char counts[TCACHE_BINS];
2121
void *entries[TCACHE_BINS];
2222
};
2323

0 commit comments

Comments
 (0)