diff options
| author | Andrew Goodbody <[email protected]> | 2025-07-04 11:53:18 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-07-11 11:33:25 -0600 |
| commit | ff8a41ce4947c6d7f1826990d5d7b96d30928e3f (patch) | |
| tree | 5d232785f9e9c91752a45d94bfddf94e4a00ae0b /include/linux | |
| parent | a21ec39944f93fb5bd3dd5de525e78cac988fdb6 (diff) | |
fs: erofs: Do NULL check before dereferencing pointer
The assignments to sect and off use the pointer from ctxt.cur_dev but
that has not been NULL checked before this is done. So instead move the
assignments after the NULL check.
This issue found by Smatch
Signed-off-by: Andrew Goodbody <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
