]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: Don't stack-allocate huge error buffers
authorPeter Krempa <pkrempa@redhat.com>
Tue, 20 Sep 2022 09:16:27 +0000 (11:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Sep 2023 08:31:52 +0000 (10:31 +0200)
commit194c75f458c9ba1d59d042f3195e59c88c07bea0
tree6d6c447be0a80adfce7cf6c87ee64724c7b1c561
parent8d76c9390ef41af461b4a0a9c562caab34167640
bhyve: Don't stack-allocate huge error buffers

_POSIX2_LINE_MAX is 2048. Allocate the buffers on the heap instead.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
src/bhyve/bhyve_process.c