author | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 23:15:20 +0000 (01:15 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 23:15:20 +0000 (01:15 +0200) | ||
commit | e54533bd1fad95b149e87918dffca06b0afb5074 | |
tree | 0f19423193242a63350539812d99120176f3f982 | tree | snapshot |
parent | 9de9dfc3a6a8061089eebcc6271b2f13ac43e20b | commit | diff |
screen: check MPD status only if connected
Fix several segmentation faults: when the connection to the MPD server
is lost, there were NULL pointer dereferences because
client->status==NULL. Check before accessing it.
Fix several segmentation faults: when the connection to the MPD server
is lost, there were NULL pointer dereferences because
client->status==NULL. Check before accessing it.
src/screen.c | diff | blob | history | |
src/screen_file.c | diff | blob | history | |
src/screen_play.c | diff | blob | history |