Tim Schumacher
874c7bba28
LibCore: Remove Stream.h
2023-02-13 00:50:07 +00:00
Tim Schumacher
220fbcaa7e
AK: Remove the fallible constructor from FixedMemoryStream
2023-02-08 17:44:32 +00:00
Tim Schumacher
093cf428a3
AK: Move memory streams from LibCore
2023-01-29 19:16:44 -07:00
Tim Schumacher
c6d71ca727
LibCore: Rename MemoryStream
to FixedMemoryStream
...
This is to differentiate between the upcoming `AllocatingMemoryStream`,
which automatically allocates memory as needed instead of operating on a
static memory area.
2022-12-15 13:28:29 +00:00
Tim Schumacher
d402f6cdb3
LibCore: Add support for ReadonlyBytes to MemoryStream
2022-11-30 12:09:53 +00:00
Tim Schumacher
fd3a823a20
LibArchive: Move loading the next tar header into a helper function
...
This now also validates the first header that is loaded, so we can drop
the corresponding FIXME from `tar`.
2022-11-30 08:03:31 +01:00
Tim Schumacher
cbeaba0c12
LibArchive: Use Core::Stream inside TarInputStream
2022-11-30 08:03:31 +01:00
implicitfield
19e6befddc
FuzzTar+tar: Advance the stream before continuing
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=53733
This bug was caused by a regression introduced in c88d8a2
.
2022-11-26 01:24:12 +01:00
implicitfield
ee0c9ed87b
LibArchive: Simplify error handling
2022-11-23 11:19:16 +01:00
implicitfield
c88d8a21cc
LibArchive: Make TarInputStream::advance report errors
...
Fixes this bug that was reported by OSS-Fuzz:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52862
2022-11-13 17:37:26 -07:00
Idan Horowitz
9f3de0be6a
Fuzzers: Add fuzzer for the Tar parser
2022-10-16 18:34:48 +03:00