From: Tom Rini Date: Sat, 6 Oct 2018 20:29:22 -0400 Subject: [U-Boot] [U-Boot,1/1] fs: fat: memory leak in fat_unlink() In-Reply-To: <20181002045800.19361-1-xypron.glpk@gmx.de> References: <20181002045800.19361-1-xypron.glpk@gmx.de> Message-ID: <20181007002922.GK15855@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Oct 02, 2018 at 06:58:00AM +0200, Heinrich Schuchardt wrote: > Do not leak filename_copy in case of error. > Catch out of memory when calling strdup. > > This addresses Coverity Scan CID 184086. > > Reported-by: Tom Rini > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: