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]
Date:   Thu, 30 Dec 2021 11:04:58 +0800
From:   Ryan Cai <ycaibb@...il.com>
To:     <greg@...ah.com>
CC:     <linux-kernel@...r.kernel.org>, <linux-m68k@...ts.linux-m68k.org>
Subject: [Resource Leak] Missing closing files

Dear Kernel maintainers,
 
           In linux/drivers/zorro/gen-devlist.c, the file opened at Line 39 may not closed when going to Line 65. 
 
          I think, return 1 at Line 65 should be goto error. Should it be a bug? I can send a patch.
 
Location: https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/drivers/zorro/gen-devlist.c#L39-L65
 
 
 
Best,
Ryan
 



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ