mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
3798 synchronize getter and setter for boolean which identifies zip bomb status
This commit is contained in:
parent
7e26ff6c83
commit
fcefceae4a
@ -1292,7 +1292,7 @@ class SevenZipExtractor {
|
||||
/**
|
||||
* Set the flag which identifies whether this file has been determined to be a zip bomb to true.
|
||||
*/
|
||||
void flagAsZipBomb() {
|
||||
synchronized void flagAsZipBomb() {
|
||||
flaggedAsZipBomb = true;
|
||||
}
|
||||
|
||||
@ -1301,7 +1301,7 @@ class SevenZipExtractor {
|
||||
*
|
||||
* @return True when flagged as a zip bomb, false if it is not flagged
|
||||
*/
|
||||
boolean isFlaggedAsZipBomb() {
|
||||
synchronized boolean isFlaggedAsZipBomb() {
|
||||
return flaggedAsZipBomb;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user