[ovs-git] [ovn-org/ovn] 7c6009: chassis.c: Fix the possible NULL pointer deference...

Han Zhou noreply at github.com
Tue Sep 15 22:14:30 UTC 2020

  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 7c6009af2c0766b38c56147c21d0b9cb887389e3
  Author: Han Zhou <hzhou at ovn.org>
  Date:   2020-09-15 (Tue, 15 Sep 2020)

  Changed paths:
    M controller/chassis.c

  Log Message:
  chassis.c: Fix the possible NULL pointer deference in chassis_cleanup().

If chassis_rec is NULL but chassis_private_rec is not, chassis_rec->name
is a NULL pointer deference. This patch fixes it.

Fixes: 4adc10f581 ("Avoid nb_cfg update notification flooding")
Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>

More information about the git mailing list