[ovs-git] [ovn-org/ovn] 6d9782: binding: Fix potential NULL dereference of lbinding.

Dumitru Ceara noreply at github.com
Sat Mar 6 10:15:32 UTC 2021


  Branch: refs/heads/branch-20.09
  Home:   https://github.com/ovn-org/ovn
  Commit: 6d978205d2e53a9deb1e1516cf08a3d160fd7e4c
      https://github.com/ovn-org/ovn/commit/6d978205d2e53a9deb1e1516cf08a3d160fd7e4c
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2021-03-06 (Sat, 06 Mar 2021)

  Changed paths:
    M controller/binding.c

  Log Message:
  -----------
  binding: Fix potential NULL dereference of lbinding.

There is a valid code path that can lead to 'lbinding' being NULL in
handle_deleted_vif_lport().  Make sure we check for it.

Found by code inspection.

Fixes: 68cf9fdceba8 ("binding: Fix container port removal from local bindings.")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

(cherry-picked from master commit 80a9a8e834829a80af2ee329fc69a1314fb5079b)




More information about the git mailing list