- 28 Nov, 2022 7 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Of course, mode=0700 is more secure, but allowing other users access to new directories is a choice the user should make via umask(). If the user-chosen umask allows everybody access, MPD should probably respect that.
-
Max Kellermann authored
This is systemd specific, and Android doesn't have systemd.
-
Max Kellermann authored
The function spl_valid_name() should verify playlist names and prevent path traversal, but it failed to do so on Windows, because it forgot to check for backslashes. This buggy piece of code was already present when stored playlists were initially implemented in 2006 by commit 08003904, and even during the many rounds of code refactoring, nobody ever bothered to verify it. D'oh! (Thanks, Paul Arzelier)
-
Max Kellermann authored
snprintf() does not return the (truncated) length actually written, but the length that would be needed if the buffer were large enough. This API usage mistake in FormatLastError() can lead to overflow of the stack buffer, crashing the process (Windows only). Closes https://github.com/MusicPlayerDaemon/MPD/issues/1676
-
- 12 Nov, 2022 3 commits
-
-
Max Kellermann authored
Fixes spurious linker errors.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 11 Nov, 2022 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Nov, 2022 2 commits
- 03 Nov, 2022 5 commits
-
-
Max Kellermann authored
If no archive library was found, return from the "plugins" directory without creating "libarchive_plugins.a". Empty static libraries are unsupported on some operating systems such as macOS. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1650
-
Max Kellermann authored
Commit 44ef34db was broken.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Punycode hooray!
-
- 20 Oct, 2022 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 18 Oct, 2022 1 commit
-
-
jcorporation authored
-
- 14 Oct, 2022 13 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
It is not explicitly documented whether snd_pcm_name() is allowed to return NULL: https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html#ga5031edc0422df8db1f70af056a12dd77 But apparently this is legal: https://github.com/alsa-project/alsa-lib/blob/0222f45d11e8b71bf651b985b00fdb0addbf3eed/src/pcm/pcm.c#L2761-L2762 That's ... surprising! Closes https://github.com/MusicPlayerDaemon/MPD/issues/1645
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1644
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This appears to have been fixed in some recent CURL version.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 30 Sep, 2022 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 29 Sep, 2022 3 commits
-
-
BurroCargado authored
According to the latest WebDAV specification (RFC4918), timestamp string in the getlastmodified property is formatted as rfc1123-date, such as "Sun, 06 Nov 1994 08:49:37 GMT". However, to process responses from servers in the older style format specified in RFC2518, timestamps in the HTTP-date format had better be accepted. As described in the libcurl api documentation, curl_getdate() can handle timestamp strings in HTTP-date formats, including rfc1123-date. https://www.rfc-editor.org/rfc/rfc4918#section-15.7 https://www.rfc-editor.org/rfc/rfc2518.html#section-13.7 https://curl.se/libcurl/c/curl_getdate.html
-
BurroCargado authored
-
Max Kellermann authored
-