[Libvirt-ci] Errored: libvirt/libvirt#531 (master - 17825e8)

Travis CI builds at travis-ci.org
Fri Sep 22 07:40:16 UTC 2017


Build Update for libvirt/libvirt
-------------------------------------

Build: #531
Status: Errored

Duration: 9 minutes and 40 seconds
Commit: 17825e8 (master)
Author: Laine Stump
Message: util: Fix stack smashing in virNetDevGetFamilyId

After commit 8708ca01c0d libvirtd consistently aborts with "stack
 smashing detected" when nodedev driver is initialized.

This is caused by nlmsg_parse() being told that its array of nlattr*
has CTRL_CMD_MAX (10) entries, when in fact it is declared to have
CTRL_ATTR_MAX (8) entries. Since all the entries are initialized to
NULL, the result is that nlmsg_parse is overwriting 2*(sizof(nlattr*))
bytes outside the array.

Signed-off-by: Laine Stump <laine at laine.org>
Reviewed-by: John Ferlan <jferlan at redhat.com>
Signed-off-by: Jiri Denemark <jdenemar at redhat.com>

View the changeset: https://github.com/libvirt/libvirt/compare/b1d87f9ad96f...17825e8ae783

View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/278509302?utm_source=email&utm_medium=notification

--

You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-ci/attachments/20170922/fb172b51/attachment.htm>


More information about the Libvirt-ci mailing list