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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221123155858.11382-1-xiujianfeng@huawei.com>
Date:   Wed, 23 Nov 2022 23:58:56 +0800
From:   Xiu Jianfeng <xiujianfeng@...wei.com>
To:     <jgross@...e.com>, <boris.ostrovsky@...cle.com>,
        <tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
        <dave.hansen@...ux.intel.com>, <hpa@...or.com>, <jeremy@...p.org>
CC:     <x86@...nel.org>, <xen-devel@...ts.xenproject.org>,
        <linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/2]x86/xen: Fix memory leak issue

The new string allocated by kasprintf() is leaked on error paths

v2: follow Juergen's suggestion.

Xiu Jianfeng (2):
  x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
  x86/xen: Fix memory leak in xen_init_lock_cpu()

 arch/x86/xen/smp.c      | 24 ++++++++++++------------
 arch/x86/xen/smp_pv.c   | 12 ++++++------
 arch/x86/xen/spinlock.c |  6 +++---
 3 files changed, 21 insertions(+), 21 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ