Re: [PATCH] eal: add asprintf() function for Windows

2025-06-12 Thread Andre Muezerie
On Thu, Jun 12, 2025 at 02:41:05AM +0200, Thomas Monjalon wrote: > 06/05/2025 03:43, Andre Muezerie: > > The asprintf function is not part of the C standard library but is a > > GNU extension commonly available in Unix-like systems. It dynamically > > allocates memory to store the formatted output

Re: [PATCH] eal: add asprintf() function for Windows

2025-06-11 Thread Thomas Monjalon
06/05/2025 03:43, Andre Muezerie: > The asprintf function is not part of the C standard library but is a > GNU extension commonly available in Unix-like systems. It dynamically > allocates memory to store the formatted output string, similar to > sprintf, but avoids buffer overflow issues by automa

[PATCH] eal: add asprintf() function for Windows

2025-05-05 Thread Andre Muezerie
The asprintf function is not part of the C standard library but is a GNU extension commonly available in Unix-like systems. It dynamically allocates memory to store the formatted output string, similar to sprintf, but avoids buffer overflow issues by automatically sizing the buffer. Instead of rew