[ovs-build] Errored: gvrose8192/ovs-experimental#274 (branch-2.8 - d59b7bf)

Travis CI builds at travis-ci.org
Wed Feb 20 04:13:43 UTC 2019


Build Update for gvrose8192/ovs-experimental
-------------------------------------

Build: #274
Status: Errored

Duration: 1 hr, 36 mins, and 56 secs
Commit: d59b7bf (branch-2.8)
Author: Aaron Conole
Message: lldp: fix string warnings

lib/lldp/lldpd.c: In function :
lib/lldp/lldpd.c:520:17: warning:  output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
                strncat(buffer, cfg->g_protocols[i].name,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                strlen(cfg->g_protocols[i].name));
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

lib/lldp/lldpd.c: In function :
lib/lldp/lldpd.c:519:17: warning:  specified bound 2 equals source length [-Wstringop-overflow=]
                strncat(buffer, ", ", 2);
                ^~~~~~~~~~~~~~~~~~~~~~~~

Closer inspection shows that buffer is only used to output protocol names
when debug logging is enabled, so restructure the code a bit as well.

Signed-off-by: Aaron Conole <aconole at redhat.com>
Reviewed-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

View the changeset: https://github.com/gvrose8192/ovs-experimental/compare/75bf179a23f6...d59b7bf6b902

View the full build log and details: https://travis-ci.org/gvrose8192/ovs-experimental/builds/495745047?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the gvrose8192/ovs-experimental repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=13213828&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific 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://mail.openvswitch.org/pipermail/ovs-build/attachments/20190220/968b9208/attachment.html>


More information about the build mailing list