Merge pull request #66485 from nikitalita/fix-file-access-zip
Prevent loading a zip with `--main-pack` from causing a stack overflow
This commit is contained in:
commit
7ea50158ad
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ bool FileAccessZip::file_exists(const String &p_name) {
|
|||
}
|
||||
|
||||
FileAccessZip::FileAccessZip(const String &p_path, const PackedData::PackedFile &p_file) {
|
||||
_open(p_path, FileAccess::READ);
|
||||
open_internal(p_path, FileAccess::READ);
|
||||
}
|
||||
|
||||
FileAccessZip::~FileAccessZip() {
|
||||
|
|
Loading…
Reference in a new issue