summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-07-08 12:16:41 +0100
committerTom Rini <[email protected]>2025-07-15 09:55:48 -0600
commit505e2734756018af953d2e5bd1cd6ff7b66b0cdb (patch)
tree1a845e272705106919f3f17d7d0225ea10957554 /scripts/basic
parentd1d53c252a4a746db5ebcdf0d6de3aa0feec504e (diff)
fs: exfat: Perform NULL check before dereference
In the functions exfat_pread and exfat_pwrite there is a NULL check for ctxt.cur_dev but this has already been derefenced twice before this happens. Refactor the code a bit to put the NULL check first. This issue found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions