summaryrefslogtreecommitdiff
path: root/tests/gdimagefilltoborder
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2016-06-04 23:09:01 +0700
committerPierre Joye <pierre.php@gmail.com>2016-06-04 23:09:01 +0700
commit77f619d48259383628c3ec4654b1ad578e9eb40e (patch)
tree59287d6bc88552fe2ea3ef1e7fab42e1b5c3fc06 /tests/gdimagefilltoborder
parent73f4e0339abda6514600c0c6a633ad8c49005437 (diff)
downloadlibgd-77f619d48259383628c3ec4654b1ad578e9eb40e.tar.gz
fix #215 gdImageFillToBorder stack-overflow when invalid color is used
Diffstat (limited to 'tests/gdimagefilltoborder')
-rw-r--r--tests/gdimagefilltoborder/.gitignore1
-rw-r--r--tests/gdimagefilltoborder/CMakeLists.txt1
-rw-r--r--tests/gdimagefilltoborder/Makemodule.am3
3 files changed, 4 insertions, 1 deletions
diff --git a/tests/gdimagefilltoborder/.gitignore b/tests/gdimagefilltoborder/.gitignore
index 65c314a..384299c 100644
--- a/tests/gdimagefilltoborder/.gitignore
+++ b/tests/gdimagefilltoborder/.gitignore
@@ -1 +1,2 @@
/bug00037
+/github_bug_215
diff --git a/tests/gdimagefilltoborder/CMakeLists.txt b/tests/gdimagefilltoborder/CMakeLists.txt
index e6b95fd..f03529a 100644
--- a/tests/gdimagefilltoborder/CMakeLists.txt
+++ b/tests/gdimagefilltoborder/CMakeLists.txt
@@ -1,5 +1,6 @@
SET(TESTS_FILES
bug00037
+ github_bug_215
)
ADD_GD_TESTS()
diff --git a/tests/gdimagefilltoborder/Makemodule.am b/tests/gdimagefilltoborder/Makemodule.am
index 15f4dde..fc7ed3d 100644
--- a/tests/gdimagefilltoborder/Makemodule.am
+++ b/tests/gdimagefilltoborder/Makemodule.am
@@ -1,6 +1,7 @@
if HAVE_LIBPNG
libgd_test_programs += \
- gdimagefilltoborder/bug00037
+ gdimagefilltoborder/bug00037 \
+ gdimagefilltoborder/github_bug_215
endif
EXTRA_DIST += \