commit | 15cace97d64d85780dcedac9c8adef540787dbea | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Tue Jan 14 16:37:23 2014 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Tue Jan 14 16:37:23 2014 +0000 |
tree | 6a646f91a510ef66c35727d0fc7c441b8c4425a8 | |
parent | aa4db030d50b21f98104b3e245dd54b7f3f53d39 [diff] [blame] |
diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 224c206..56649ca 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c
@@ -549,7 +549,8 @@ next_direction=((path_info[i].point.y > point.y) || ((path_info[i].point.y == point.y) && (path_info[i].point.x > point.x))) ? 1 : -1; - if ((direction != 0) && (direction != next_direction)) + if ((points != (PointInfo *) NULL) && (direction != 0) && + (direction != next_direction)) { /* New edge.