diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-05-11 00:54:54 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-05-16 04:39:39 +0200 |
commit | a2b776f6c901c706946b49d2b5cadb0c6efd2655 (patch) | |
tree | a3507efea3874c7b50b8a10cfc54faffee086e5f /lib/libalpm/util.c | |
parent | 1bc79cb9a5067d685ba507fad9b189ed28ad70a0 (diff) | |
download | pacman-a2b776f6c901c706946b49d2b5cadb0c6efd2655.tar.gz pacman-a2b776f6c901c706946b49d2b5cadb0c6efd2655.tar.xz |
query_fileowner: avoid buffer overflow
Copying a string into a buffer that has just been determined to not be
able to hold it is obviously incorrect. The actual error handling
appears to have been unintentionally removed in
47762ab687959e48acc2de8592fcf3ba3cfa502b.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions