#4503 Crash at openHeaderEntriesFile
parent
93a66b4764
commit
8ef660a745
|
|
@ -1354,6 +1354,7 @@ U32 LLTextureCache::openAndReadEntries(std::vector<Entry>& entries)
|
|||
if (bytes_read < sizeof(Entry))
|
||||
{
|
||||
LL_WARNS() << "Corrupted header entries, failed at " << idx << " / " << num_entries << LL_ENDL;
|
||||
closeHeaderEntriesFile();
|
||||
return 0;
|
||||
}
|
||||
entries.push_back(entry);
|
||||
|
|
|
|||
Loading…
Reference in New Issue