diff options
author | Reuben Green <[email protected]> | 2019-08-03 23:47:43 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-08-06 22:53:23 +0200 |
commit | e6eb371942f86b981851b131bcc9bf7127bc2762 (patch) | |
tree | e497edd7c8715979028fd97790e0a2abca623399 /m4/ltsugar.m4 | |
parent | d65a7b260aba01169040d38b927eefdcde9e1c60 (diff) | |
download | atril-e6eb371942f86b981851b131bcc9bf7127bc2762.tar.bz2 atril-e6eb371942f86b981851b131bcc9bf7127bc2762.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 'm4/ltsugar.m4')
0 files changed, 0 insertions, 0 deletions