diff options
author | Max Kellermann <max@musicpd.org> | 2020-07-01 15:03:24 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-07-01 15:14:27 +0200 |
commit | d9f9b3df1063b1a7c547484cec8dafc54da8c216 (patch) | |
tree | 2fadd7cdeb3686ed589d0331c3ca62bfba902d6f /NEWS | |
parent | a43ee977462fdd29d6fcc6084978f7a0c5666ff2 (diff) |
input/file: detect premature end of file
A bug report (https://github.com/MusicPlayerDaemon/MPD/issues/912)
suggests that on Linux, reading on `cifs` files may rarely return 0 (=
end of file) before the end of the file has really been reached. But
that's just a theory which I need to validate, so this runtime check
shall catch this condition before the assertion in
DecoderBridge::Read() crashes MPD. Let's see.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/912
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2,6 +2,7 @@ ver 0.21.25 (not yet released) * protocol: - fix crash when using "rangeid" while playing * input + - file: detect premature end of file - smbclient: don't send credentials to MPD clients ver 0.21.24 (2020/06/10) |