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 Clone read support functionality for HPKG format version 1 2013-05-25 01:12:22 +02:00
BlockBufferPoolImpl.h Rename BBlockBufferCache and friends to *Pool* 2013-05-25 01:12:25 +02:00
HPKGDefsPrivate.h hpkg attribute tags: use 7 bits for attribute ID 2013-05-25 01:12:34 +02:00
PackageFileHeapAccessorBase.h package kit: Actually add support for B_HPKG_COMPRESSION_NONE 2014-07-12 23:12:21 +02:00
PackageFileHeapReader.h Switch package file accessor classes to use BPositionIO 2014-07-12 15:40:22 +02:00
PackageFileHeapWriter.h Switch package file accessor classes to use BPositionIO 2014-07-12 15:40:22 +02:00
PackageReaderImpl.h PackageReaderImpl: Delay reading sections until ParseContent() 2014-07-13 17:57:56 +02:00
PackageWriterImpl.h BPackageWriter::Recompress(): Change param to BPositionIO* 2014-07-13 17:57:57 +02:00
PoolBuffer.h Rename BBlockBufferCache and friends to *Pool* 2013-05-25 01:12:25 +02:00
ReaderImplBase.h kit/package: Error on short file read 2019-08-05 15:07:24 +00:00
RepositoryReaderImpl.h Switch package file accessor classes to use BPositionIO 2014-07-12 15:40:22 +02:00
RepositoryWriterImpl.h Packagekit: Fix -Wmismatched-tags 2018-08-19 20:36:25 +00:00
Stacker.h
Strings.h PackageWriterImpl::_AttributeRemoved(): Update string cache 2013-10-25 22:54:44 +02:00
WriterImplBase.h BPackageWriter: Add BPositionIO support 2014-07-13 17:57:55 +02:00