summaryrefslogtreecommitdiffstats
path: root/.gitignore
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 /.gitignore
parentef6b6fe06572c75628943fee7067b1ef453c672a (diff)
downloadpacman-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions