]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-bus/bus-match.c
sd-bus: Fix a read after free error in bus-match. (#3624) (#3625)
authorWeng Xuetian <wengxt@gmail.com>
Wed, 29 Jun 2016 20:22:12 +0000 (13:22 -0700)
committerLennart Poettering <lennart@poettering.net>
Wed, 29 Jun 2016 20:22:12 +0000 (22:22 +0200)
commitf0d5c5be5923f3342d0de1241e30650b1d57d551
tree1f81369ad57a052204cbb478e4a8a6d14e85111f
parentd6568222d74bdfbeb75e37e96b64248ec0145dea
sd-bus: Fix a read after free error in bus-match. (#3624) (#3625)

The loop on bus_match_run should break and return immediately if
bus->match_callbacks_modified is true. Otherwise the loop may access
free'd data.
src/libsystemd/sd-bus/bus-match.c