summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-transition.c
diff options
context:
space:
mode:
authorGermán Poo-Caamaño <[email protected]>2013-05-30 18:05:36 -0700
committerraveit65 <[email protected]>2018-03-22 08:44:47 +0100
commitaa3bcfa7315593044de3a0462eabd1bf1d23df4b (patch)
tree211ae2cb0c1e76c61b14f23bd289300d7e81b00a /libdocument/ev-document-transition.c
parent63463849638784e91339acfc27b4b0645b8573f3 (diff)
downloadatril-aa3bcfa7315593044de3a0462eabd1bf1d23df4b.tar.bz2
atril-aa3bcfa7315593044de3a0462eabd1bf1d23df4b.tar.xz
libview: Check number of pages on ev_view_document_changed_cb
Fix crash on corrupted PDF with no pages. Thanks to Juha Kylmänen from OUSPG who were testing robutness. (CVE-2013-3718). libview: Fix warning on ev_view_document_changed_cb There was an introduction of a warning when fixing the bug https://bugzilla.gnome.org/show_bug.cgi?id=701302 If ev_view_document_changed_cb () is emitted when there is no previous document, the check fails. This patch change the order of the condition checks. origin commits: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=62b1585 https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=5431595
Diffstat (limited to 'libdocument/ev-document-transition.c')
0 files changed, 0 insertions, 0 deletions