]> git.ipfire.org Git - thirdparty/bacula.git/commit
bpipe: Fix org#2737 About segfault with bpipe
authorEric Bollengier <eric@baculasystems.com>
Wed, 4 Dec 2024 08:06:22 +0000 (09:06 +0100)
committerEric Bollengier <eric@baculasystems.com>
Wed, 4 Dec 2024 08:14:26 +0000 (09:14 +0100)
commit453dc8ef9e41ba21b7fc4b69ab49e5f31f40b067
tree5e24f007aef4c044d89bca9c0c78837b059ca5fd
parent318e3a0d41a8955e0c95fb90b6ea6c20884b2ff6
bpipe: Fix org#2737 About segfault with bpipe

p_ctx->cmd is allocated with strdup() and released with
smartalloc and it causes the segfault.

Thanks to Marcin for this report.
bacula/src/plugins/fd/bpipe-fd.c