summaryrefslogtreecommitdiff
path: root/backend/pixbuf
diff options
context:
space:
mode:
authorReuben Green <[email protected]>2019-08-03 23:47:43 +0100
committerZenWalker <[email protected]>2019-08-06 22:53:23 +0200
commite6eb371942f86b981851b131bcc9bf7127bc2762 (patch)
treee497edd7c8715979028fd97790e0a2abca623399 /backend/pixbuf
parentd65a7b260aba01169040d38b927eefdcde9e1c60 (diff)
downloadatril-1.20.tar.bz2
atril-1.20.tar.xz
prevent segfaults when no document loaded1.20
See the issue report for a description of the bug. The root cause is dereferencing of NULL pointers, specifically the priv->document member of EvWindow structures when no document is loaded. This commit adds checks for a NULL value of priv->document at all the points in the file shell/ev-window.c where this pointer was previously dereferenced without being checked. Fixes 357 (https://github.com/mate-desktop/atril/issues/357)
Diffstat (limited to 'backend/pixbuf')
0 files changed, 0 insertions, 0 deletions