Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1629975

Re: [PATCH 1/1] qlcnic: fix unchecked return value

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] qlcnic: fix unchecked return value
Date 2017-04-24 22:20 +0200
Message-ID <tzSCL-37e-41@gated-at.bofh.it> (permalink)
References <tzouZ-8hB-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


aFrom: Pan Bian <bianpan201602@163.com>
Date: Sun, 23 Apr 2017 20:04:04 +0800

> From: Pan Bian <bianpan2016@163.com>
> 
> Function pci_find_ext_capability() may return 0, which is an invalid
> address. In function qlcnic_sriov_virtid_fn(), its return value is used
> without validation. This may result in invalid memory access bugs. This
> patch fixes the bug.
> 
> Signed-off-by: Pan Bian <bianpan2016@163.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] qlcnic: fix unchecked return value Pan Bian <bianpan201602@163.com> - 2017-04-23 14:10 +0200
  Re: [PATCH 1/1] qlcnic: fix unchecked return value David Miller <davem@davemloft.net> - 2017-04-24 22:20 +0200

csiph-web