author | Max Kellermann <max@duempel.org> | |
Sun, 13 Sep 2009 10:07:54 +0000 (12:07 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 13 Sep 2009 10:07:54 +0000 (12:07 +0200) | ||
commit | 74f964eff234bba4cf6f04fdf4ae31a673839176 | |
tree | 454d2eb4c22a8cca9fcc731d958cf134d15a3607 | tree | snapshot |
parent | b3ccd59c5e7f8fa1614eabeb0020502bd876fe74 | commit | diff |
mpdclient: clear the "connection" variable on error
This also adds several "connection==NULL" checks, and thus fixes a
NULL pointer dereference, which could occur when you pressed "tab" too
early, before the connection was established (Debian bug #540415).
This also adds several "connection==NULL" checks, and thus fixes a
NULL pointer dereference, which could occur when you pressed "tab" too
early, before the connection was established (Debian bug #540415).
NEWS | diff | blob | history | |
src/mpdclient.c | diff | blob | history |