read: Handle all 0 read edge cases
Make sure that read of 0 bytes succeeds as long as the filter itself is not in a fatal state. This means that the return value must not be NULL, otherwise the code treats it as failure. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
T
Tobias Stoeckmann committed
5c2373a3e0c35dfbe41f05c53884d2e8007e5c6b
Parent: f4f4422