| author | Max Kellermann <max@duempel.org> | |
| Tue, 18 Nov 2008 20:51:07 +0000 (21:51 +0100) | ||
| committer | Max Kellermann <max@duempel.org> | |
| Tue, 18 Nov 2008 20:51:07 +0000 (21:51 +0100) | ||
| commit | c985ba258d95fb267e35a96e92eb6f8461b83668 | |
| tree | d89e7ebe6ad6343f389c3aeb5fc1019d24fc080f | tree | snapshot |
| parent | cd1663f4ce44fcb20bae7782bb71e96876333125 | commit | diff |
screen_browser: check if filelist is set
When calling browser_change_directory() before a filelist was set,
ncmpc would crash due to a NULL pointer dereference. This scenario is
not possible currently, since the open() method allocates the
filelist.
When calling browser_change_directory() before a filelist was set,
ncmpc would crash due to a NULL pointer dereference. This scenario is
not possible currently, since the open() method allocates the
filelist.
| src/screen_browser.c | diff | blob | history |