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


Groups > linux.kernel > #1629935

Re: [PATCH 1/1] wan: pc300too: abort path on failure

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] wan: pc300too: abort path on failure
Date 2017-04-24 22:00 +0200
Message-ID <tzSjp-2Lp-45@gated-at.bofh.it> (permalink)
References <tzm9R-6K4-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Pan Bian <bianpan201602@163.com>
Date: Sun, 23 Apr 2017 17:38:35 +0800

> From: Pan Bian <bianpan2016@163.com>
> 
> In function pc300_pci_init_one(), on the ioremap error path, function
> pc300_pci_remove_one() is called to free the allocated memory. However,
> the path is not terminated, and the freed memory will be used later,
> resulting in use-after-free bugs. This path 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] wan: pc300too: abort path on failure Pan Bian <bianpan201602@163.com> - 2017-04-23 11:40 +0200
  Re: [PATCH 1/1] wan: pc300too: abort path on failure David Miller <davem@davemloft.net> - 2017-04-24 22:00 +0200

csiph-web