git: 0c8823bad5fe - stable/13 - rtld_malloc: increase overhead index to uint16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Aug 2023 00:28:23 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0c8823bad5fed948d5c551ac0f48de96fe7653b1
commit 0c8823bad5fed948d5c551ac0f48de96fe7653b1
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-07-25 12:54:45 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-08-28 00:27:48 +0000
rtld_malloc: increase overhead index to uint16
(cherry picked from commit d60130bf32a3c35417f276507dcdfa569397dae3)
---
libexec/rtld-elf/rtld_malloc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libexec/rtld-elf/rtld_malloc.c b/libexec/rtld-elf/rtld_malloc.c
index 1246238b3941..ac8af4d6b6e1 100644
--- a/libexec/rtld-elf/rtld_malloc.c
+++ b/libexec/rtld-elf/rtld_malloc.c
@@ -75,8 +75,8 @@ static caddr_t pagepool_start, pagepool_end;
union overhead {
union overhead *ov_next; /* when free */
struct {
- u_char ovu_magic; /* magic number */
- u_char ovu_index; /* bucket # */
+ uint16_t ovu_index; /* bucket # */
+ uint8_t ovu_magic; /* magic number */
} ovu;
#define ov_magic ovu.ovu_magic
#define ov_index ovu.ovu_index