mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Verify range against previous stub when linking getter PIC stubs, bug 688090. r=dvander
This commit is contained in:
parent
5c12242e17
commit
c8f4c18ef3
@ -1234,7 +1234,8 @@ class GetPropCompiler : public PICStubCompiler
|
||||
if (!linker.init(f.cx))
|
||||
THROW();
|
||||
|
||||
if (!linker.verifyRange(f.jit())) {
|
||||
if (!linker.verifyRange(pic.lastCodeBlock(f.jit())) ||
|
||||
!linker.verifyRange(f.jit())) {
|
||||
disable("code memory is out of range");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user