[ovs-git] [openvswitch/ovs] ce6260: packets: Fix use-after-free error in packet_put_ra...

GitHub noreply at github.com
Mon Nov 19 17:01:19 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: ce6260a19a98401112b1acb92f1c6b77553ced2d
      https://github.com/openvswitch/ovs/commit/ce6260a19a98401112b1acb92f1c6b77553ced2d
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-11-19 (Mon, 19 Nov 2018)

  Changed paths:
    M lib/packets.c

  Log Message:
  -----------
  packets: Fix use-after-free error in packet_put_ra_prefix_opt().

dp_packet_put_uninit() can reallocate the data buffer, so find the L4
header pointer afterward instead of before.

Found by Address Sanitizer.

Acked-by: Mark Michelson <mmichels at redhat.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