Skip to content

Commit

Permalink
Merge pull request mozilla#19 from rojkov/embedlite
Browse files Browse the repository at this point in the history
[xulrunner] Protect EmbedLiteApp from dereferencing null pointer
  • Loading branch information
rojkov committed Jul 7, 2014
2 parents 5dece94 + 24e3e75 commit 23d2089
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embedding/embedlite/EmbedLiteApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ void
EmbedLiteApp::SendObserve(const char* aMessageName, const char16_t* aMessage)
{
LOGT("topic:%s", aMessageName);
NS_ENSURE_TRUE(mAppParent, );
unused << mAppParent->SendObserve(nsDependentCString(aMessageName), aMessage ? nsDependentString((const char16_t*)aMessage) : nsString());
}

Expand Down

0 comments on commit 23d2089

Please sign in to comment.