Commit fd856d0
committed
btrfs-progs: tune: reset fs_info->new_chunk_tree_uuid at the end
The CodeQL scan points out a local variable is stored in a non-local
memory, in this case it's the uuid buffer for new chunk. There are error
paths leading to the label 'out' that do not reset it. This is not a
problem as this does not leak outside, but let's reset it in all cases.
Signed-off-by: David Sterba <[email protected]>1 parent 4a99311 commit fd856d0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | 303 | | |
305 | 304 | | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
0 commit comments