mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
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
This commit is contained in:
parent
26a4327b06
commit
c88d8a21cc
4 changed files with 18 additions and 8 deletions
|
@ -34,7 +34,7 @@ private:
|
|||
class TarInputStream {
|
||||
public:
|
||||
TarInputStream(InputStream&);
|
||||
void advance();
|
||||
ErrorOr<void> advance();
|
||||
bool finished() const { return m_finished; }
|
||||
bool valid() const;
|
||||
TarFileHeader const& header() const { return m_header; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue