diff options
author | David Robillard <d@drobilla.net> | 2020-08-15 21:41:31 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-16 13:56:40 +0200 |
commit | 6a9db19eb786b51cf1aea232ae7af72b35ac834a (patch) | |
tree | 3070cabe6671c13932d923f3ff3a1c81171f885b /tests/bad/bad-null-byte.ttl | |
parent | 9a847982aa7d4c5f77f89b5d289835b9fb174c5e (diff) | |
download | serd-6a9db19eb786b51cf1aea232ae7af72b35ac834a.tar.gz serd-6a9db19eb786b51cf1aea232ae7af72b35ac834a.tar.bz2 serd-6a9db19eb786b51cf1aea232ae7af72b35ac834a.zip |
Fix EOF and null byte handling
This is a bit questionable, but the null byte support is needed for streaming
over a socket where some delimiter is required. This caused a bug where serdi
would hang forever on corrupt files that contain a null byte.
Fix this by consuming the byte, but otherwise behaving as before.
Diffstat (limited to 'tests/bad/bad-null-byte.ttl')
-rw-r--r-- | tests/bad/bad-null-byte.ttl | bin | 0 -> 27 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/bad/bad-null-byte.ttl b/tests/bad/bad-null-byte.ttl Binary files differnew file mode 100644 index 00000000..4f2cb404 --- /dev/null +++ b/tests/bad/bad-null-byte.ttl |