From: David Herrmann Date: Sat, 5 Sep 2015 10:56:04 +0000 (+0200) Subject: login: fix NULL-deref on wall_message X-Git-Tag: v226.4~1^2~82 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ba5bb9837fda291f45cffa97fe8347e045a93694;hp=ba5bb9837fda291f45cffa97fe8347e045a93694;p=elogind.git login: fix NULL-deref on wall_message We treat an empty wall-message equal to a NULL wall-message since: commit 5744f59a3ee883ef3a78214bd5236157acdc35ba Author: Lennart Poettering Date: Fri Sep 4 10:34:47 2015 +0200 logind: treat an empty wall message like a NULL one Fix the shutdown scheduler to not deref a NULL pointer, but properly check for an empty wall-message. Fixes: #1120 ---