~ubuntu-branches/ubuntu/lucid/seamonkey/lucid-security

« back to all changes in this revision

Viewing changes to modules/plugin/base/src/ns4xPlugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-11-26 14:54:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081126145421-qpjfr14j0sulg9le
Tags: 1.1.13+nobinonly-0ubuntu1
* New security upstream release: 1.1.13 (LP: #297789)
  - CVE-2008-4582: Information stealing via local shortcut files
  - CVE-2008-5012: Image stealing via canvas and HTTP redirect
  - CVE-2008-5013: Arbitrary code execution via Flash Player dynamic module unloading
  - CVE-2008-5014: Crash and remote code execution via __proto__ tampering
  - CVE-2008-5017: Browser engine crash - Firefox 2 and 3
  - CVE-2008-5018: JavaScript engine crashes - Firefox 2 and 3
  - CVE-2008-5019: XSS and JavaScript privilege escalation via session restore
  - CVE-2008-0017: Buffer overflow in http-index-format parser
  - CVE-2008-5021: Crash and remote code execution in nsFrameManager
  - CVE-2008-5022: nsXMLHttpRequest::NotifyEventListeners() same-origin violation
  - CVE-2008-5023: -moz-binding property bypasses security checks on codebase principals
  - CVE-2008-5024: Parsing error in E4X default namespace
  - CVE-NOTASSIGN (MFSA2008-59): Script access to .documentURI and .textContent in mail

* re-run autoconf2.13 to update configure patch to changed upstream codebase
  - update debian/patches/99_configure.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
  static NPP sCurrentNPP;
268
268
};
269
269
 
270
 
class NPPAutoPusher : public NPPStack
 
270
// XXXjst: The NPPAutoPusher stack is a bit redundant now that
 
271
// PluginDestructionGuard exists, and could thus be replaced by code
 
272
// that uses the PluginDestructionGuard list of plugins on the
 
273
// stack. But they're not identical, and to minimize code changes
 
274
// we're keeping both for the moment, and making NPPAutoPusher inherit
 
275
// the PluginDestructionGuard class to avoid having to keep two
 
276
// separate objects on the stack since we always want a
 
277
// PluginDestructionGuard where we use an NPPAutoPusher.
 
278
 
 
279
class NPPAutoPusher : public NPPStack,
 
280
                      protected PluginDestructionGuard
271
281
{
272
282
public:
273
283
  NPPAutoPusher(NPP npp)
274
 
    : mOldNPP(sCurrentNPP)
 
284
    : PluginDestructionGuard(npp),
 
285
      mOldNPP(sCurrentNPP)
275
286
  {
276
287
    NS_ASSERTION(npp, "Uh, null npp passed to NPPAutoPusher!");
277
288