[ovs-git] [ovn-org/ovn] 53fef2: binding: Fix potential NULL dereference of lbinding.
Dumitru Ceara
noreply at github.com
Sat Mar 6 10:15:05 UTC 2021
Branch: refs/heads/branch-20.12
Home: https://github.com/ovn-org/ovn
Commit: 53fef2d396fe983f0ed7c9a1c92bdb0dbdea8178
https://github.com/ovn-org/ovn/commit/53fef2d396fe983f0ed7c9a1c92bdb0dbdea8178
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