[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <29a87213-8a56-439a-98d3-377d067dda9d@web.de>
Date: Tue, 12 Aug 2025 17:57:44 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Scott Guo <scottzhguo@...cent.com>,
Phillip Lougher <phillip@...ashfs.org.uk>
Cc: Scott Guo <scott_gzh@....com>, LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v2] squashfs: Avoid mem leak in squashfs_fill_super()
> If sb_min_blocksize() returns 0, -EINVAL was returned without freeing
> sb->s_fs_info, causing mem leak.
memory?
> Fix it by calling and checking result of sb_min_blocksize() before
> kzalloc.
() call?
Regards,
Markus
Powered by blists - more mailing lists