commit | 3abb7a4e4a8dd362a4a05a730daead6020376cf4 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Sep 23 21:13:51 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Sep 29 13:19:08 2020 -0400 |
tree | 8af5723bec9fc6523fc95750dd0885f4dbe2edd8 | |
parent | 382561d277feb66b7f00f18a15418ffe9d08e04d [diff] |
fs/squashfs: parameter check sqfs_read_metablock() We should check if the incoming parameter file_mapping is not NULL instead of checking after adding an offset. Reported-by: Coverity CID 307210 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>