~ubuntu-branches/ubuntu/feisty/firefox/feisty-security

« back to all changes in this revision

Viewing changes to accessible/src/html/nsHTMLSelectAccessible.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-02-04 13:35:29 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20080204133529-0pyfe6dcs1tlhkhb
Tags: 2.0.0.12+1nobinonly+2-0ubuntu0.7.4
* New stability upstream release (v2.0.0.12)
* New security/stability upstream release (v2.0.0.12) - 1.8.0.14 prepatches
* MFSA 2008-01 aka CVE-2008-0412: Crashes with evidence of memory corruption
  v1.8.1.12 (Browser crashes)
* MFSA 2008-01 aka CVE-2008-0413: Crashes with evidence of memory corruption
  v1.8.1.12 (javascript crashes)
* MFSA 2008-02 aka CVE-2008-0414: Multiple file input focus stealing
  vulnerabilities: 1. Focus shifting bugs and 2. Selective keystroke blocking
  bugs
* MFSA 2008-03 aka CVE-2008-0415: Privilege escalation, XSS, Remote Code
  Execution (JavaScript privilege escalation bugs)
* MFSA 2008-04 aka CVE-2008-0416: Multiple XSS vulnerabilities from
  character encoding
* MFSA 2008-05 aka CVE-2008-0417: Stored password corruption
* MFSA 2008-06 aka CVE-2008-0418: Directory traversal via chrome: URI
* MFSA 2008-07 aka CVE-2008-0419: Web browsing history and forward navigation
  stealing
* MFSA 2008-08 aka CVE-2008-0420: Possible information disclosure in BMP
  decoder
* MFSA 2008-09 aka CVE-2008-0591: File action dialog tampering
* MFSA 2008-10 aka CVE-2008-0592: Mishandling of locally-saved plain text
  files
* MFSA 2008-11 aka CVE-2008-0593: URL token stealing via stylesheet redirect
* MFSA 2008-12 aka CVE-2008-0594: Web forgery overwrite with div overlay

Show diffs side-by-side

added added

removed removed

Lines of Context:
380
380
 
381
381
  PRUint32 numChildren = aParentContent->GetChildCount();
382
382
  nsCOMPtr<nsIAccessible> lastGoodAccessible(aLastGoodAccessible);
 
383
  nsCOMPtr<nsIAccessible> newAccessible;
383
384
 
384
385
  for (PRUint32 count = 0; count < numChildren; count ++) {
385
386
    nsIContent *childContent = aParentContent->GetChildAt(count);
388
389
    }
389
390
    nsCOMPtr<nsIAtom> tag = childContent->Tag();
390
391
    if (tag == nsAccessibilityAtoms::option || tag == nsAccessibilityAtoms::optgroup) {
391
 
      lastGoodAccessible = AccessibleForOption(aAccService,
392
 
                                               childContent,
393
 
                                               lastGoodAccessible);
 
392
      newAccessible = AccessibleForOption(aAccService,
 
393
                                          childContent,
 
394
                                          lastGoodAccessible);
 
395
      if (newAccessible) {
 
396
        lastGoodAccessible = newAccessible;
 
397
      }
394
398
      if (tag == nsAccessibilityAtoms::optgroup) {
395
 
        lastGoodAccessible = CacheOptSiblings(aAccService, childContent,
396
 
                                              lastGoodAccessible);
 
399
        newAccessible = CacheOptSiblings(aAccService, childContent,
 
400
                                         lastGoodAccessible);
 
401
        if (newAccessible) {
 
402
          lastGoodAccessible = newAccessible;
 
403
        }
397
404
      }
398
405
    }
399
406
  }