[PATCH 1/8] bhyve: Don't stack-allocate huge error buffers

Kristina Hanicova khanicov at redhat.com
Wed Aug 30 12:16:27 UTC 2023


On Wed, Aug 30, 2023 at 1:59 PM Peter Krempa <pkrempa at redhat.com> wrote:

> _POSIX2_LINE_MAX is 2048. Allocate the buffers on the heap instead.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/bhyve/bhyve_process.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>


Reviewed-by: Kristina Hanicova <khanicov at redhat.com>

Kristina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230830/a7092948/attachment.htm>


More information about the libvir-list mailing list