haiku/headers/private/package/hpkg
Alexander von Gluck IV 6c331fc7e1 kit/package: Error on short file read
* It's safe to assume that if the file is shorter than
  the provided header, things will go poorly.
* Avoids a random vauge ReadBuffer error.
* This doesn't fix #15230, but makes the issue clearer.

Change-Id: I3471e6de384a0c9be94049ad891c01be980f7846
Reviewed-on: https://review.haiku-os.org/c/1679
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-08-05 15:07:24 +00:00
..
v1
BlockBufferPoolImpl.h
HPKGDefsPrivate.h
PackageFileHeapAccessorBase.h
PackageFileHeapReader.h
PackageFileHeapWriter.h
PackageReaderImpl.h
PackageWriterImpl.h
PoolBuffer.h
ReaderImplBase.h
RepositoryReaderImpl.h
RepositoryWriterImpl.h
Stacker.h
Strings.h
WriterImplBase.h