openwrt/package/system/apk/patches
Matt Merhar 82fec218e1
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
apk: backport upstream fixes for unaligned access
On the kirkwood target, packages would frequently fail to install with
APKE_ADB_SCHEMA, APKE_ADB_BLOCK, and/or segfaults. The culprit was
unaligned access leading to bogus values being read out of memory on
these particular ARMv5 CPUs.

Pull in the relevant upstream fixes to address this.

Fixes: https://github.com/openwrt/openwrt/issues/21307
Link: https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/391
Link: https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/392
Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/21958
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
(cherry picked from commit 64ec08eee1)
2026-02-10 15:07:44 +01:00
..
0001-openwrt-move-layer-db-to-temp-folder.patch apk: backport upstream fix for invalid fetch timestamps 2026-02-05 17:12:56 +01:00
0010-app_list-add-full-print.patch apk-tools: fix compilation warning from downstream full print patch 2025-10-14 17:15:07 +02:00
0020-io-fix-invalid-fetch-timestamps-with-wget-backend.patch apk: backport upstream fix for invalid fetch timestamps 2026-02-05 17:12:56 +01:00
0030-defines-align-apk_array.patch apk: backport upstream fixes for unaligned access 2026-02-10 15:07:44 +01:00
0031-defines-rework-apk_unaligned_-helpers.patch apk: backport upstream fixes for unaligned access 2026-02-10 15:07:44 +01:00
0032-extract_v3-fix-unaligned-access-of-file-mode.patch apk: backport upstream fixes for unaligned access 2026-02-10 15:07:44 +01:00
0033-io-synchronize-istream-buffer-alignment-with-file-of.patch apk: backport upstream fixes for unaligned access 2026-02-10 15:07:44 +01:00