summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_package.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-24 08:33:12 +0200
committerDan McGee <dan@archlinux.org>2011-06-24 08:36:47 +0200
commitd589a7b5dbdfcf740d72aa4e9e8fcab9a3de0fbd (patch)
tree2ffab5bab55ff3e9ce54227e2d49eaaaa7048692 /lib/libalpm/be_package.c
parente27a5c88514c5eb9480294374e98914ec27bf65d (diff)
downloadpacman-d589a7b5dbdfcf740d72aa4e9e8fcab9a3de0fbd.tar.gz
pacman-d589a7b5dbdfcf740d72aa4e9e8fcab9a3de0fbd.tar.xz
Prevent segfault when parsing unexpected sync database file
This doesn't fix the real (bigger) problem of failing to parse sync databases without directory entries, but it does prevent the parser from segfaulting when the first desc file encountered did not have a directory entry, among other conditions. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_package.c')
0 files changed, 0 insertions, 0 deletions