diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-11-24 09:04:56 +0300 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2025-11-26 12:45:29 +0100 |
| commit | 8da059f2a497a2427150faae5adc3bb78e73b3e2 (patch) | |
| tree | 5d60819ba538cee3e5bd0239f205c29185c2003b /tools/docs/check-variable-fonts.py | |
| parent | 95c39eef7c2b666026c69ab5b30471da94ea2874 (diff) | |
fuse: Uninitialized variable in fuse_epoch_work()
The fuse_ilookup() function only sets *fm on the success path so this
"if (fm) {" NULL check doesn't work. The "fm" pointer is either
uninitialized or valid. Check the "inode" pointer instead.
Also, while it's not necessary, it is cleaner to move the iput(inode)
under the NULL check as well.
Fixes: 64becd224ff9 ("fuse: new work queue to invalidate dentries from old epochs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Luis Henriques <luis@igalia.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/docs/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions
