Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Charlie Garrison
Sat, 28 Nov 2026 10:10
Bug#1155646: aide: --update --limit segfaults when the limit matches a percent-encoded file name
Author: Charlie Garrison
Date: Sat, 28 Nov 2026 10:10
Date: Sat, 28 Nov 2026 10:10
30 lines
2958 bytes
2958 bytes
Package: aide Version: 0.19.1-2+deb13u6 Severity: normal Tags: trixie patch upstream fixed-upstream Dear Maintainer, In trixie's aide, "aide --update --limit <regex>" segfaults when the regex matches a database entry whose file name AIDE stores percent-encoded (it encodes space, '#', '%', ':' and '@'). systemd template units are the most common case, e.g.: aide --update --limit '^/etc/systemd/system/getty@\.service$' -> Segmentation fault (exit 139); kernel: "segfault at 118 ... aide" Wider limits that also match other entries (e.g. '^/etc/systemd/system(/|$)') work. With such a narrow limit, "aide --check" also reports the changed file as "Added" rather than "Changed". This is upstream issue https://github.com/aide/aide/issues/228 (a NULL read in get_different_attributes(), src/gen_list.c), fixed in upstream 0.19.4 by: https://github.com/aide/aide/commit/cdf553490af3ead5574c65863465a525663e8468 "Fix segfault on limit matching encoded filename" The fix adds one line to src/db_file.c and removes one from src/db.c. testing/unstable (0.19.5-4) already contain it. Please consider it for a trixie point release. Thanks.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads