lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1540971702-3133-1-git-send-email-wang.yi59@zte.com.cn>
Date:   Wed, 31 Oct 2018 15:41:40 +0800
From:   Yi Wang <wang.yi59@....com.cn>
To:     paul.burton@...s.com, sboyd@...nel.org
Cc:     mturquette@...libre.com, linux-mips@...ux-mips.org,
        linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
        zhong.weidong@....com.cn, Yi Wang <wang.yi59@....com.cn>
Subject: [PATCH v3 0/2] fix memory leak and unregister issue in clk_boston_setup()

This fix two issues in clk_boston_setup() function:
- possible memory leak of 'onecell'
- registered clks not unregister when error happens

Changes from v2:
- include smatch to the commit
- unregister clks which registered before going out

Yi Wang (2):
  clk: boston: fix possible memory leak in clk_boston_setup()
  clk: boston: unregister clks on failure in clk_boston_setup()

 drivers/clk/imgtec/clk-boston.c | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ