Re: [PATCH] libcpp: Fix overly large buffer allocation

2024-12-23 Thread Jeff Law
On 12/18/24 5:04 PM, Lewis Hyatt wrote: Hello- Happened to notice this minor issue that seems worth fixing. bootstrap + regtest on x86-64, is it OK please? Thanks! -Lewis -- >8 -- It seems that tokens_buff_new() has always been allocating the virtual location buffer 4 times larger than int

[PATCH] libcpp: Fix overly large buffer allocation

2024-12-18 Thread Lewis Hyatt
Hello- Happened to notice this minor issue that seems worth fixing. bootstrap + regtest on x86-64, is it OK please? Thanks! -Lewis -- >8 -- It seems that tokens_buff_new() has always been allocating the virtual location buffer 4 times larger than intended, and now that location_t is 64-bit, it