[ovs-git] [openvswitch/ovs] e9c363: ofp-port: Free memory on error in ofp_print_ofpst_...

GitHub noreply at github.com
Tue Oct 23 16:30:24 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e9c363ee1a3dbf59ed3e15cd848ccecbc07522cb
      https://github.com/openvswitch/ovs/commit/e9c363ee1a3dbf59ed3e15cd848ccecbc07522cb
  Author: Yifeng Sun <pkusunyifeng at gmail.com>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

  Changed paths:
    M lib/ofp-port.c

  Log Message:
  -----------
  ofp-port: Free memory on error in ofp_print_ofpst_port_reply

Counters in ops->custom_stats may already be valid at this error point.
This patch frees the leaked memory.

Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10322
Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list