summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2015-01-12 03:47:38 +0100
committerAllan McRae <allan@archlinux.org>2015-01-12 06:23:01 +0100
commita31426d3ea79f7b22d5000f2bfecb52f95246444 (patch)
tree44ca5217830d3d42447eca961cdad8d736bf60b6 /lib/libalpm/package.h
parente8d757b6ba9ca545266c43279cfef1a48971c013 (diff)
downloadpacman-a31426d3ea79f7b22d5000f2bfecb52f95246444.tar.gz
pacman-a31426d3ea79f7b22d5000f2bfecb52f95246444.tar.xz
makepkg: clear destination array in array_build
If an already used array is passed array_build, some entries from the old array could be carried over if the old array was longer than the new one. Clear the destination array before adding elements to it to prevent this issue. Fixes: https://bugs.archlinux.org/task/43387 Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
0 files changed, 0 insertions, 0 deletions