~chromium-team/chromium-browser/yakkety-stable

« back to all changes in this revision

Viewing changes to debian/apport/chromium-browser.py

  • Committer: Olivier Tilloy
  • Date: 2017-06-06 04:31:18 UTC
  • mfrom: (1345.1.15 yakkety-beta)
  • Revision ID: olivier.tilloy@canonical.com-20170606043118-0g19u6y8u8kxeynl
* Upstream release: 59.0.3071.86
  - CVE-2017-5070: Type confusion in V8.
  - CVE-2017-5071: Out of bounds read in V8.
  - CVE-2017-5072: Address spoofing in Omnibox.
  - CVE-2017-5073: Use after free in print preview.
  - CVE-2017-5074: Use after free in Apps Bluetooth.
  - CVE-2017-5075: Information leak in CSP reporting.
  - CVE-2017-5086: Address spoofing in Omnibox.
  - CVE-2017-5076: Address spoofing in Omnibox.
  - CVE-2017-5077: Heap buffer overflow in Skia.
  - CVE-2017-5078: Possible command injection in mailto handling.
  - CVE-2017-5079: UI spoofing in Blink.
  - CVE-2017-5080: Use after free in credit card autofill.
  - CVE-2017-5081: Extension verification bypass.
  - CVE-2017-5082: Insufficient hardening in credit card editor.
  - CVE-2017-5083: UI spoofing in Blink.
  - CVE-2017-5085: Inappropriate javascript execution on WebUI pages.
* debian/patches/additional-search-engines.patch: refreshed
* debian/patches/chromium_useragent.patch: refreshed
* debian/patches/disable-sse2: refreshed
* debian/patches/enable-chromecast-by-default.patch: renamed, and really enable chromecast (LP: #1621753)
* debian/patches/fix_building_widevinecdm_with_chromium.patch: refreshed
* debian/patches/last-commit-position: refreshed
* debian/patches/search-credit.patch: refreshed
* debian/patches/series: refreshed
* debian/patches/snapshot-library-link: refreshed
* debian/patches/stdatomic: refreshed
* debian/patches/touch-v35: refreshed
* debian/patches/use-gcc-versioned: refreshed
* debian/patches/fix-gn-bootstrap.patch: removed, no longer needed
* debian/patches/revert-llvm-ar.patch: added
* debian/patches/linux-dma-buf.patch: added
* debian/patches/no-fPIC.patch: added
* debian/control:
  - bump Standards-Version to 3.9.8
  - remove build dependency on libgtk2.0-dev
  - remove build dependency on libgconf2-dev
* debian/rules:
  - build with GTK3 by default to match upstream (https://bugs.chromium.org/p/chromium/issues/detail?id=79722)
  - do not build with GConf support (LP: #1669100)
* debian/apport/chromium-browser.py:
  - fetch info about libgtk-3-0
  - do not fetch GConf key values

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    'chromium-codecs-ffmpeg',
32
32
    'chromium-codecs-ffmpeg-extra',
33
33
    'libvpx0',
34
 
    'libgtk2.0-0',
 
34
    'libgtk-3-0',
35
35
    'nspluginwrapper',
36
36
    # various plugins
37
37
    'adobe-flash-player',
59
59
        script = subprocess.Popen(['apt-cache', 'policy', pkg], stdout=subprocess.PIPE)
60
60
        report['RelatedPackagesPolicy'] += str(script.communicate()[0]) + "\n"
61
61
 
62
 
def gconf_values(report, keys):
63
 
    report['gconf-keys'] = ''
64
 
    for key in keys:
65
 
        try:
66
 
            script = subprocess.Popen(['gconftool-2', '--get', key], stdout=subprocess.PIPE)
67
 
        except OSError:
68
 
            report['gconf-keys'] = "gconftool-2 not found"
69
 
            return
70
 
        out = str(script.communicate()[0])
71
 
        if out == "":
72
 
            out = "**unset**\n"
73
 
        report['gconf-keys'] += key + " = " + out
74
 
 
75
62
def loadavg_processes_running_percent():
76
63
    with open("/proc/loadavg") as loadavg:
77
64
        for line in loadavg:
189
176
    apport.hookutils.attach_file_if_exists(report, os.path.join(customizations_dir, 'default'), key='etcconfigdefault')
190
177
    apport.hookutils.attach_file_if_exists(report, os.path.join(HOME, '.local/share/applications', PACKAGE + 'desktop'))
191
178
 
192
 
    gconf_values(report, ['/desktop/gnome/applications/browser/exec', '/desktop/gnome/url-handlers/https/command', '/desktop/gnome/url-handlers/https/enabled', '/desktop/gnome/url-handlers/http/command', '/desktop/gnome/url-handlers/http/enabled', '/desktop/gnome/session/required_components/windowmanager', '/apps/metacity/general/compositing_manager', '/desktop/gnome/interface/icon_theme', '/desktop/gnome/interface/gtk_theme'])
193
179
    if userdir:
194
180
        user_dir = userdir
195
181
    else: