mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 952110 - Parsing JAR file may crash when it installs a extension. r=bsmedberg
This commit is contained in:
parent
1ef4d3b422
commit
45168c5faa
@ -443,6 +443,10 @@ nsJAR::LoadEntry(const nsACString &aFilename, char** aBuf, uint32_t* aBufLen)
|
||||
int32_t
|
||||
nsJAR::ReadLine(const char** src)
|
||||
{
|
||||
if (!*src) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
//--Moves pointer to beginning of next line and returns line length
|
||||
// not including CR/LF.
|
||||
int32_t length;
|
||||
|
Loading…
Reference in New Issue
Block a user