lkml.org 
[lkml]   [2019]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] appletalk: small cleanup and bugfix
Date
From: YueHaibing <yuehaibing@huawei.com>

v2:
- Add cover letter log

This patch series mainly fix a use-after-free bug in atalk_proc_exit.
patch 1 use remove_proc_subtree helper to simplify atalk_proc fs code,
also some other cleanup.
patch 2 add proper error cleanup path in atalk_init to fix the issue, which
based on the patch 1 because of the change of atalk_proc_exit context.

YueHaibing (2):
appletalk: use remove_proc_subtree to simplify procfs code
appletalk: Fix use-after-free in atalk_proc_exit

include/linux/atalk.h | 2 +-
net/appletalk/atalk_proc.c | 58 +++++++++++++---------------------------
net/appletalk/ddp.c | 37 ++++++++++++++++++++-----
net/appletalk/sysctl_net_atalk.c | 5 +++-
4 files changed, 54 insertions(+), 48 deletions(-)

--
2.7.0


\
 
 \ /
  Last update: 2019-03-01 03:59    [W:0.040 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site