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: <20240411031903.3050278-1-chengzhihao1@huawei.com>
Date: Thu, 11 Apr 2024 11:18:59 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: <richard@....at>, <miquel.raynal@...tlin.com>, <ben.hutchings@...d.be>,
	<daniel@...rotopia.org>
CC: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/4] ubi: Fix serious of resource leaking problems

v1->v2:
  Combine Ben[1] and my[2] patches.
  Modify second patch in [1], don't drop warning message if debugfs
  failed to be initialized.
  Modify second patch in [2], move ubiblock_init to the end of ubi_init.
  Add new patch to replace IS_ERR_OR_NULL with IS_ERR.

[1] https://lore.kernel.org/linux-mtd/cover.1712788087.git.ben.hutchings@mind.be/
[2] https://lore.kernel.org/lkml/20240410074033.2523399-3-chengzhihao1@huawei.com/T/

Ben Hutchings (1):
  mtd: ubi: Ignore all debugfs initialisation failures

Zhihao Cheng (3):
  ubi: ubi_init: Fix missed debugfs cleanup in error handling path
  ubi: ubi_init: Fix missed ubiblock cleanup in error handling path
  ubi: debugfs: Replace IS_ERR_OR_NULL with IS_ERR in error checking
    path

 drivers/mtd/ubi/build.c | 61 ++++++++++++++++++++---------------------
 drivers/mtd/ubi/debug.c | 35 +++++++++--------------
 drivers/mtd/ubi/debug.h |  4 +--
 3 files changed, 44 insertions(+), 56 deletions(-)

-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ