Closed Bug 309535 Opened 19 years ago Closed 19 years ago

Potential OOM crash: Result of XPTI_GetInterfaceInfoManager() is not checked

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dewildt, Assigned: jhpedemonte)

References

()

Details

(Keywords: crash)

See also
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/extensions/java/xpcom/nsJavaXPCOMBindingUtils.cpp&rev=1.34&root=/cvsroot&mark=794-797#788

XPTI_GetInterfaceInfoManager's result could be null in certain cases (like OOM).
This result is not checked in
  GetNewOrUsedXPCOMObject()
  nsJavaXPTCStub::QueryInterface()
  nsJavaXPTCStub::SetupJavaParams()
  nsJavaXPTCStub::GetRetvalSig()
This was fixed as part of bug 315401.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.