Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLászló Várady <laszlo.varady93@gmail.com>2019-08-05 15:11:19 +0200
committerAllan McRae <allan@archlinux.org>2019-08-12 10:19:09 +1000
commitf9f22fded2f05ae1edb5af3bd0e3a4aba2f5ce34 (patch)
tree304b45707585d6ad8a222f11dc8cc028631b78ca /lib
parent18a64400617259b34ccf014682fd8022d551a036 (diff)
pacman/callback: fix buffer over-read
Commit 11ab9aa9f5f0f3873df89c73e8715b82f485bd9b replaced a strcpy() call with memcpy(), without copying the terminating null character. Since fname is allocated with malloc(), subsequent strstr() calls will overrun the buffer's boundary. Signed-off-by: László Várady <laszlo.varady93@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions