music player daemon (fork)
Go to file
Max Kellermann f849b07766 storage/curl: fix nullptr dereference
Pass a std::string to PathTraitsUTF8::Relative(), implicitly casting
it to std::string_view.  This selects the right overload which returns
std::string_view instead of `const char *`; the latter could return
`nullptr` which would cause the implicit conversion of the return
value to std::string_view to crash.

Regression caused by commits ead208987d and a98d627c0b.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/995
2020-11-06 15:35:47 +01:00
.github Create FUNDING.yml 2020-01-20 14:30:52 +01:00
android increment version number to 0.22.1 2020-09-23 16:15:44 +02:00
build build/pkg-config.sh: add comment 2019-02-22 12:39:59 +01:00
doc increment version number to 0.22.3 2020-11-04 16:14:40 +01:00
python/build lib/nfs/patches: disable the snprintf->sprintf_s alias 2020-10-17 13:56:02 +02:00
src storage/curl: fix nullptr dereference 2020-11-06 15:35:47 +01:00
subprojects test/meson.build: install GTest from fallback Meson wrap 2020-06-04 14:56:43 +02:00
systemd systemnd: configure LimitMEMLOCK for io_uring 2020-06-09 21:09:00 +02:00
test protocol/Ack: remove unused variable `ack_domain` 2020-10-28 15:47:05 +01:00
win32 win32/build.py: add -D_FORTIFY_SOURCE=0 2020-09-04 14:33:11 +02:00
.clang-format Add .clang-format 2020-05-27 18:58:55 +08:00
.gitignore .gitignore: add emacs lsp-mode files 2020-05-26 21:07:56 +02:00
.travis.yml macos: change CI xcode to 10.3 for c++17 support 2020-06-04 08:35:02 +08:00
AUTHORS copyright year 2020 2020-01-18 19:23:49 +01:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
NEWS storage/curl: fix nullptr dereference 2020-11-06 15:35:47 +01:00
README.md release v0.20.7 2017-05-15 23:01:49 +02:00
meson.build increment version number to 0.22.3 2020-11-04 16:14:40 +01:00
meson_options.txt meson_options.txt: disable the "smbclient" plugin by default 2020-10-28 17:21:27 +01:00
mpd.svg import MPD SVG icon 2014-07-14 19:04:46 +02:00
valgrind.suppressions valgrind.suppressions: add GObject/libgcrypt/libsmbclient suppressions 2019-02-05 22:53:02 +01:00

README.md

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.