mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03: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:
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.
Loading…
Reference in New Issue
Block a user