Re: [hackers] [st][PATCH] fix: realloc kpress buffer as needed.

From: Storkman <storkman_AT_storkman.nl>
Date: Tue, 13 May 2025 22:18:45 +0200

On Tue, May 13, 2025 at 10:56:23AM +0000, NRK wrote:
> On Mon, May 12, 2025 at 01:53:08AM +0900, yahei wrote:
> > If XBufferOverflow occuers, the client should recall the function with
> > the same event and a buffer of adequate size to obtain the string.
>
> Do you have any actual usecase where the current buffer size is a
> problem? If yes, I think it's better to increase the buffer size to
> something more reasonable if possible than to mess around with static
> variables.
>
> - NRK
>

Patch didn't attach correctly to my previous message.

-- 
Storkman
Received on Tue May 13 2025 - 22:18:45 CEST

This archive was generated by hypermail 2.3.0 : Tue May 13 2025 - 22:24:45 CEST