[dpdk-stable] [dpdk-dev] [PATCH v2] eal: fix dereference after null check

David Marchand david.marchand at redhat.com
Thu Oct 22 22:01:12 CEST 2020


On Thu, Oct 15, 2020 at 10:43 AM wangyunjian <wangyunjian at huawei.com> wrote:
>
> From: Yunjian Wang <wangyunjian at huawei.com>
>
> This patch fixes (dereference after null check) coverity issue.
> For this reason, we should add null check at the beginning of the
> function and return error directly if the 'intr_handle' is null.
>
> Coverity issue: 357695, 357751
> Fixes: 05c4105738d8 ("trace: add interrupt tracepoints")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Review, please.

-- 
David Marchand



More information about the stable mailing list