summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2015-11-01 20:41:55 -0500
committerAllan McRae <allan@archlinux.org>2015-11-03 21:45:09 +1000
commit6eac7258cd3ae1cb63e59fceb68cc5d144a9dd4f (patch)
tree73dbc7a429b1af1045f637b6c5ece14f8254d79a /src
parent0fd6d354a6b8de976ec9b6a146c4cb8cdcdd5ebb (diff)
downloadpacman-6eac7258cd3ae1cb63e59fceb68cc5d144a9dd4f.tar.xz
ensure realloc has a positive size
If given size 0 POSIX allows realloc to return a pointer that is not suitable for use. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions