mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
The systemd System and Service Manager
a605e46f29
The leak can be reproduced by running systemd-path --suffix .tmp under valgrind or asan: $ ./build/systemd-path --suffix .tmp search-binaries /usr/local/bin/.tmp:/usr/bin/.tmp:/usr/local/sbin/.tmp:/usr/sbin/.tmp:/home/vagrant/.local/bin/.tmp:/home/vagrant/bin/.tmp ================================================================= ==19177==ERROR: LeakSanitizer: detected memory leaks Direct leak of 56 byte(s) in 1 object(s) allocated from: *0 0x7fd6adf72850 in malloc (/lib64/libasan.so.4+0xde850) *1 0x7fd6ad2b93d2 in malloc_multiply ../src/basic/alloc-util.h:69 *2 0x7fd6ad2bafd2 in strv_split ../src/basic/strv.c:269 *3 0x7fd6ad42ba67 in search_from_environment ../src/libsystemd/sd-path/sd-path.c:409 *4 0x7fd6ad42bffe in get_search ../src/libsystemd/sd-path/sd-path.c:482 *5 0x7fd6ad42c55b in sd_path_search ../src/libsystemd/sd-path/sd-path.c:607 *6 0x7fd6ad42b3a2 in sd_path_home ../src/libsystemd/sd-path/sd-path.c:348 *7 0x55f59c65ebea in print_home ../src/path/path.c:97 *8 0x55f59c65f157 in main ../src/path/path.c:177 *9 0x7fd6abaea009 in __libc_start_main (/lib64/libc.so.6+0x21009) Indirect leak of 68 byte(s) in 5 object(s) allocated from: *0 0x7fd6adf72850 in malloc (/lib64/libasan.so.4+0xde850) *1 0x7fd6abb5f689 in strndup (/lib64/libc.so.6+0x96689) Indirect leak of 25 byte(s) in 1 object(s) allocated from: *0 0x7fd6adf72850 in malloc (/lib64/libasan.so.4+0xde850) *1 0x7fd6abb5f689 in strndup (/lib64/libc.so.6+0x96689) *2 0x6c2e2f746e617266 (<unknown module>) SUMMARY: AddressSanitizer: 149 byte(s) leaked in 7 allocation(s). |
||
---|---|---|
.github | ||
.mkosi | ||
catalog | ||
coccinelle | ||
doc | ||
factory/etc | ||
hwdb | ||
man | ||
modprobe.d | ||
network | ||
po | ||
presets | ||
rules | ||
shell-completion | ||
src | ||
sysctl.d | ||
sysusers.d | ||
test | ||
tmpfiles.d | ||
tools | ||
travis-ci | ||
units | ||
xorg | ||
.dir-locals.el | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
.vimrc | ||
.ycm_extra_conf.py | ||
configure | ||
LICENSE.GPL2 | ||
LICENSE.LGPL2.1 | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
mkosi.build | ||
mkosi.default | ||
NEWS | ||
README | ||
README.md | ||
TODO | ||
zanata.xml |
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.