mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 16:18:54 -04:00
restore(8): fix use of uninitialized value.
Prevent uninitialized use of scalar newvol when jumping to gethdr. CID: 1006491
This commit is contained in:
parent
ce223fb715
commit
8f07cb00a5
1 changed files with 1 additions and 0 deletions
|
|
@ -340,6 +340,7 @@ getvol(long nextvol)
|
|||
}
|
||||
if (volno == 1)
|
||||
return;
|
||||
newvol = 0;
|
||||
goto gethdr;
|
||||
}
|
||||
again:
|
||||
|
|
|
|||
Loading…
Reference in a new issue