summaryrefslogtreecommitdiff
path: root/m4/lib-prefix.m4
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-07-07 19:52:13 -0400
committerAllan McRae <allan@archlinux.org>2013-07-22 13:26:56 +1000
commit24abcddc574be22b82095ea647209e072080764a (patch)
tree5618409e9baee44d21420873c9f584e4e0351330 /m4/lib-prefix.m4
parentef6b6fe06572c75628943fee7067b1ef453c672a (diff)
be_sync: avoid crashing on files in the root of a DB
If a sync DB is malformed and contains entries in the root of the archive, load_pkg_for_entry will leave the 'filename' variable empty, leading to a crash in the ensuing strcmp() calls which determine the DB fragment being examined. While this isn't a read error, this should be reported to the user so that it can be addressed by the creator of the DB. As seen: https://bbs.archlinux.org/viewtopic.php?pid=1297766 Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'm4/lib-prefix.m4')
0 files changed, 0 insertions, 0 deletions