]> git.ipfire.org Git - thirdparty/systemd.git/commit
log: pass the correct length to vsnprintf (#6168)
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 22 Jun 2017 01:10:29 +0000 (04:10 +0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 22 Jun 2017 01:10:29 +0000 (21:10 -0400)
commit1741b25c72c9c9b9c79d5dced98700054d52cd61
tree82678fdbd055638f29b04caa0270bba9a2cec592
parentc9fb8c7c4a748a9205629f08d16afbb61d8e875b
log: pass the correct length to vsnprintf (#6168)

This prevents log_object_internalv from corrupting the stack.
Closes #6147.

Many thanks to Walter Doekes for the code review.
src/basic/log.c