projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8445256
)
Fix possible null pointer dereference
author
John Darrington
<john@darrington.wattle.id.au>
Thu, 11 Aug 2016 20:11:38 +0000
(22:11 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Thu, 11 Aug 2016 20:11:38 +0000
(22:11 +0200)
src/output/cairo.c
patch
|
blob
|
history
diff --git
a/src/output/cairo.c
b/src/output/cairo.c
index 1a8c78c69fe0d0062dcb379aa0f4d758c2ebb48c..c7188af0b60a1ab24cc15f30296ee8916d442495 100644
(file)
--- a/
src/output/cairo.c
+++ b/
src/output/cairo.c
@@
-1078,7
+1078,8
@@
xr_layout_cell_text (struct xr_driver *xr,
{
if (brk && clip[H][0] != clip[H][1])
best = bottom;
- *brk = bottom;
+ if (brk)
+ *brk = bottom;
}
else
break;