[ovs-build] Passed: ovsrobot/ovs#3736 (series_237346 - 911c409)

Travis CI builds at travis-ci.com
Sun Apr 4 18:13:21 UTC 2021

Build Update for ovsrobot/ovs

Build: #3736
Status: Passed

Duration: 11 mins and 1 sec
Commit: 911c409 (series_237346)
Author: Ilya Maximets
Message: ofproto-dpif: Fix use of uninitialized attributes of timeout policy.

'cdtp' is allocated on a stack and it has uninitialized 'present'
field that specifies which attributes are actually set.  This
causes use of uninitialized attributes.

 Conditional jump or move depends on uninitialised value(s)
    at 0x539651: dpif_netlink_get_nl_tp_udp_attrs (dpif-netlink.c:3206)
    by 0x539651: dpif_netlink_get_nl_tp_attrs (dpif-netlink.c:3234)
    by 0x539651: dpif_netlink_ct_set_timeout_policy (dpif-netlink.c:3370)
    by 0x42B615: ct_add_timeout_policy_to_dpif (ofproto-dpif.c:5421)
    by 0x42B615: ct_set_zone_timeout_policy (ofproto-dpif.c:5525)
    by 0x40BD98: ct_zones_reconfigure (bridge.c:756)
    by 0x40BD98: datapath_reconfigure (bridge.c:804)
    by 0x40D737: bridge_reconfigure (bridge.c:903)
    by 0x411720: bridge_run (bridge.c:3331)
    by 0x40751C: main (ovs-vswitchd.c:127)

Clearing the whole structure to avoid this kind of problems.

CC: Yi-Hung Wei <yihung.wei at gmail.com>
Fixes: 993cae678bca ("ofproto-dpif: Consume CT_Zone, and CT_Timeout_Policy tables")
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovs/compare/f6bfcccd1813...911c409e21ce

View the full build log and details: https://travis-ci.com/github/ovsrobot/ovs/builds/222098000?utm_medium=notification&utm_source=email


You can unsubscribe from build emails from the ovsrobot/ovs repository going to https://travis-ci.com/account/preferences/unsubscribe?repository=9111024&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.com/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/20210404/b85cc171/attachment.html>

More information about the build mailing list