diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-05-11 00:24:04 +0200 |
---|---|---|
committer | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-05-11 00:50:34 +0200 |
commit | f132cbe14e4419b05484e6de5291df1630c0dac1 (patch) | |
tree | 691c615c0db4c58eec44428592231e6e29d23a75 /lib/libalpm/rawstr.c | |
parent | 48ed9b33812ab81ef5c4e58255dc7464cef443bc (diff) | |
download | pacman-f132cbe14e4419b05484e6de5291df1630c0dac1.tar.gz pacman-f132cbe14e4419b05484e6de5291df1630c0dac1.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>
Diffstat (limited to 'lib/libalpm/rawstr.c')
0 files changed, 0 insertions, 0 deletions