Messages in this thread | | | Date | Mon, 17 Jun 2019 14:05:59 -0700 (PDT) | Subject | Re: [PATCH][next] net: hns3: fix dereference of ae_dev before it is null checked | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Mon, 17 Jun 2019 12:42:14 +0100
> From: Colin Ian King <colin.king@canonical.com> > > Pointer ae_dev is null checked however, prior to that it is dereferenced > when assigned pointer ops. Fix this by assigning pointer ops after ae_dev > has been null checked. > > Addresses-Coverity: ("Dereference before null check") > Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied.
| |