[Libvirt-ci] Errored: libvirt/libvirt#164 (master - f4c09b9)

Travis CI builds at travis-ci.org
Mon Jun 5 08:32:33 UTC 2017


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

Build: #164
Status: Errored

Duration: 16 minutes and 58 seconds
Commit: f4c09b9 (master)
Author: Martin Kletzander
Message: Reset the whole stack in testutils

The memset() was resetting only 30 bytes in the array (size of the
array), but it is array of pointers.  Since it is a static array,
let's just reset it by its size.

Found by gcc-7.1:

  testutils.c: In function 'virTestRun':
  testutils.c:243:13: error: 'memset' used with length equal to number
  of elements without multiplication by element size [-Werror=memset-elt-size]
    memset(testAllocStack, 0, ARRAY_CARDINALITY(testAllocStack));
    ^~~~~~

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>

View the changeset: https://github.com/libvirt/libvirt/compare/7b4e9b2c55a1...f4c09b913ea9

View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/239503490?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/20170605/7d6ee574/attachment.htm>


More information about the Libvirt-ci mailing list