[ovs-git] [openvswitch/ovs] a4be01: ovn-controller: Fix possible null pointer derefere...
GitHub
noreply at github.com
Tue Sep 20 17:11:28 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: a4be012315afddf07f5a2e8f5209ebba212dd75d
https://github.com/openvswitch/ovs/commit/a4be012315afddf07f5a2e8f5209ebba212dd75d
Author: Justin Pettit <jpettit at ovn.org>
Date: 2016-09-20 (Tue, 20 Sep 2016)
Changed paths:
M ovn/controller/ovn-controller.c
Log Message:
-----------
ovn-controller: Fix possible null pointer dereference.
The code dereferences "chassis", which could be null if chassis_run()
returns null. "chassis" will always be null if "chassis_id" is null, so
checking "chassis" is sufficient to check both.
Found by inspection.
Signed-off-by: Justin Pettit <jpettit at ovn.org>
More information about the git
mailing list