~ubuntu-branches/ubuntu/precise/apport/precise-proposed

Viewing all changes in revision 306.

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-04-20 18:53:24 UTC
  • Revision ID: package-import@ubuntu.com-20120420185324-t0d7v9xb8egdcppn
Tags: 2.0.1-0ubuntu6
* Cherry-pick from trunk:
  - hookutils.py, recent_logfile(): Use a default limit of 10000 lines and
    call "tail" instead of reading the whole file. This protects against
    using up all memory when there are massive repeated log messages.
    (LP: #984256)
  - apport-gtk: Do not assume that an icon requested for size 42 actually
    delivers size 42; some themes do not have this available and deliver a
    smaller one instead, causing overflows. Also, copy the image as
    gtk_icon_theme_load_icon() returns a readonly result which we must not
    modify. Fixes crashes when using themes other than the standard Ubuntu
    ones. (LP: #937249)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: