mpd/src/input
Max Kellermann d9f9b3df10 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
2020-07-01 15:14:27 +02:00
..
plugins input/file: detect premature end of file 2020-07-01 15:14:27 +02:00
AsyncInputStream.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
AsyncInputStream.hxx event/*, ...: make GetEventLoop() const 2020-03-26 17:19:13 +01:00
BufferedInputStream.cxx input/buffered: check error in IsAvailable() 2019-05-17 12:43:45 +02:00
BufferedInputStream.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
CondHandler.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Error.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Error.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
FailingInputStream.hxx input/Stream: remove attribute "cond", replace with handler interface 2018-06-22 19:37:18 +02:00
Handler.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
IcyInputStream.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
IcyInputStream.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
Init.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Init.hxx input/Init: add RAII class 2019-02-05 22:07:49 +01:00
InputPlugin.cxx input/Plugin: add attribute prefixes 2018-10-24 20:25:32 +02:00
InputPlugin.hxx input/Plugin: add attribute prefixes 2018-10-24 20:25:32 +02:00
InputStream.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
InputStream.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
LocalOpen.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
LocalOpen.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
MaybeBufferedInputStream.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
MaybeBufferedInputStream.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
meson.build input: add missing boost meson dependency 2019-12-16 17:11:14 +01:00
Offset.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Open.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
ProxyInputStream.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
ProxyInputStream.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
Ptr.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
Reader.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Reader.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Registry.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
Registry.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
RemoteTagScanner.hxx input/RemoteTagScanner: add API documentation 2018-02-17 08:49:35 +01:00
RewindInputStream.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
RewindInputStream.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
ScanTags.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
ScanTags.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
TextInputStream.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
TextInputStream.hxx *: copyright year 2018 2018-10-31 17:54:59 +01:00
ThreadInputStream.cxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00
ThreadInputStream.hxx check.h: remove obsolete header 2018-11-19 16:33:49 +01:00