diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-19 13:53:45 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-13 11:28:25 +0200 |
commit | dc2ba49207af71193f1390d84bba4e15aeea0ce0 (patch) | |
tree | 79c2a51cb5fa2b87800b1113e0015a7108cd2eb3 /base/gxpath2.c | |
parent | Import Ghostscript 9.50 (diff) | |
download | ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.tar.gz ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.tar.bz2 ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.zip |
Import Ghostscript 9.52ghostscript-9.52
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'base/gxpath2.c')
-rw-r--r-- | base/gxpath2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/gxpath2.c b/base/gxpath2.c index 49cad4d7..ed795ca5 100644 --- a/base/gxpath2.c +++ b/base/gxpath2.c @@ -58,6 +58,9 @@ gx_path_subpath_start_point(const gx_path * ppath, gs_fixed_point * ppt) int gx_path_bbox(gx_path * ppath, gs_fixed_rect * pbox) { + if (ppath == NULL) { + return_error(gs_error_unknownerror) ; + } if (ppath->bbox_accurate) { /* The bounding box was set by setbbox. */ *pbox = ppath->bbox; |