mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-09 08:27:12 +01:00
This was a regression introduced in the recent alignment changes and led
to failures when reading (i.e. 'mkndx') certain packages like follows:
ERROR: python3-botocore-1.31.7-r1.apk: unexpected end of file
It affected packages with a header size greater than the read buffer
size of 128KB but less than 160KB (128KB + (128KB / 4)).
In those cases, we'd attempt a 0 byte read, leading to APKE_EOF.
Based on some tests of files across multiple archs and feeds, it seems
the only packages meeting those criteria were python3-botocore and
golang-github-jedisct1-dnscrypt-proxy2-dev.
Fixes:
|
||
|---|---|---|
| .. | ||
| 0001-openwrt-move-layer-db-to-temp-folder.patch | ||
| 0010-app_list-add-full-print.patch | ||
| 0020-io-fix-invalid-fetch-timestamps-with-wget-backend.patch | ||
| 0030-defines-align-apk_array.patch | ||
| 0031-defines-rework-apk_unaligned_-helpers.patch | ||
| 0032-extract_v3-fix-unaligned-access-of-file-mode.patch | ||
| 0033-io-synchronize-istream-buffer-alignment-with-file-of.patch | ||
| 0034-io-handle-edge-case-when-refilling-read-buffer.patch | ||