[ovs-dev] [PATCH 2/6] netdev-vport: Fix theoretical null pointer dereference.
Jesse Gross
jesse at nicira.com
Thu Dec 27 17:37:27 UTC 2012
On Wed, Dec 26, 2012 at 8:16 PM, Ethan Jackson <ethan at nicira.com> wrote:
> Theoretically, it's possible for netdev_get_status() to be called
> on a netdev-vport which hasn't had it's configuration set yet. In
> this case, netdev-vport would dereference a null pointer. This
> problem was found by Jesse Gross <jesse at nicira.com> in review.
>
> Signed-off-by: Ethan Jackson <ethan at nicira.com>
Shouldn't we just fetch the config? It's pretty easy and seems a lot
less likely to cause surprises in the future.
More information about the dev
mailing list