[ovs-dev] [PATCH] ovn-controller: Fix possible null pointer dereference.
Ben Pfaff
blp at ovn.org
Tue Sep 20 17:00:12 UTC 2016
On Mon, Sep 19, 2016 at 06:01:15PM -0700, Justin Pettit wrote:
> 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>
Thanks.
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list