summaryrefslogtreecommitdiffstats
path: root/build-aux/ltmain.sh
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-07-08 01:52:13 +0200
committerAllan McRae <allan@archlinux.org>2013-07-22 05:26:56 +0200
commit24abcddc574be22b82095ea647209e072080764a (patch)
tree5618409e9baee44d21420873c9f584e4e0351330 /build-aux/ltmain.sh
parentef6b6fe06572c75628943fee7067b1ef453c672a (diff)
downloadpacman-24abcddc574be22b82095ea647209e072080764a.tar.gz
pacman-24abcddc574be22b82095ea647209e072080764a.tar.xz
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 'build-aux/ltmain.sh')
0 files changed, 0 insertions, 0 deletions