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


Groups > linux.kernel > #1644582

Re: [PATCH net v3] net: x25: fix one potential use-after-free issue

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net v3] net: x25: fix one potential use-after-free issue
Date 2017-05-18 16:10 +0200
Message-ID <tIuhQ-3NF-17@gated-at.bofh.it> (permalink)
References <tHYrE-6Bi-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: linzhang <xiaolou4617@gmail.com>
Date: Wed, 17 May 2017 12:05:07 +0800

> The function x25_init is not properly unregister related resources
> on error handler.It is will result in kernel oops if x25_init init
> failed, so add properly unregister call on error handler.
> 
> Also, i adjust the coding style and make x25_register_sysctl properly
> return failure.
> 
> Signed-off-by: linzhang <xiaolou4617@gmail.com>

Applied, thanks.

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


Thread

[PATCH net v3] net: x25: fix one potential use-after-free issue linzhang <xiaolou4617@gmail.com> - 2017-05-17 06:10 +0200
  Re: [PATCH net v3] net: x25: fix one potential use-after-free issue David Miller <davem@davemloft.net> - 2017-05-18 16:10 +0200

csiph-web