Skip to content

v1.5.54 Release

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Jul 17:12
v1.5.54
fae55a6

v1.5.54 - 2026-07-20

  • apk: guard against short lines in installed database

    The record parser slices every line as line[2:] to get the value, which assumes each line is at least a one byte key plus a ":". A line that's just a newline is 1 byte, so it would panic with "slice bounds out of range [2:1]".

    An installed database with a stray blank line inside a record produces
    exactly that: the "\n\n" split leaves the extra newline at the head of
    the next record. This patch skips lines too short to hold a key and a value.