mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
core: fix memleak of ipc_namespace_path
Fixup for a70581ffb5.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32991
This commit is contained in:
committed by
Luca Boccassi
parent
7f8225d21b
commit
71d1e58309
@@ -4916,6 +4916,7 @@ void exec_context_done(ExecContext *c) {
|
||||
c->stdin_data_size = 0;
|
||||
|
||||
c->network_namespace_path = mfree(c->network_namespace_path);
|
||||
c->ipc_namespace_path = mfree(c->ipc_namespace_path);
|
||||
|
||||
c->log_namespace = mfree(c->log_namespace);
|
||||
|
||||
|
||||
BIN
test/fuzz/fuzz-unit-file/oss-fuzz-32991
Normal file
BIN
test/fuzz/fuzz-unit-file/oss-fuzz-32991
Normal file
Binary file not shown.
Reference in New Issue
Block a user