]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment.c
core: fix member access within null pointer
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 11 Oct 2018 19:24:27 +0000 (04:24 +0900)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Oct 2018 20:23:39 +0000 (22:23 +0200)
commit958b8c7bd7a3cf1e710faf8c19a528cc94c214fe
tree7b1b50e63c2184ad1080020a395e35b0e4ea5a00
parent8e04444385ddf6cbf9e172cc63e59a351ad39d74
core: fix member access within null pointer

config_parse_tasks_max() is also used for parsing system.conf or
user.conf. In that case, userdata is NULL.

Fixes #10362.
src/core/load-fragment.c