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.
Thanks,
-Takahiro Akashi
> Reported-by: Tom Rini
> Signed-off-by: Heinrich Schuchardt
> --
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
---
fs/fat/fat_write.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/fs/fat/fat_wr
2 matches
Mail list logo