diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-05-28 09:23:50 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-05-28 09:23:50 +0200 |
commit | 3a68ba3e4962f017f8575ef98fb387d0ca527d40 (patch) | |
tree | 23a4674775083f1d2469775992eb1811107f5690 /gd-2.2.1-initialize-full_filename.patch | |
parent | bf10ddd51b76640cce8e3fee6d1cc7fdc9e2b33a (diff) |
gd-last: 2.2.1
Diffstat (limited to 'gd-2.2.1-initialize-full_filename.patch')
-rw-r--r-- | gd-2.2.1-initialize-full_filename.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gd-2.2.1-initialize-full_filename.patch b/gd-2.2.1-initialize-full_filename.patch new file mode 100644 index 0000000..93dfab5 --- /dev/null +++ b/gd-2.2.1-initialize-full_filename.patch @@ -0,0 +1,22 @@ +From a184630682c25e314979b459950ec6c81fa82a5f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej@sury.org> +Date: Fri, 20 May 2016 10:15:57 +0200 +Subject: [PATCH] Initialize full_filename in tests/gdimagefile/gdnametest.c + +--- + tests/gdimagefile/gdnametest.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/gdimagefile/gdnametest.c b/tests/gdimagefile/gdnametest.c +index 2be648e..a339e69 100644 +--- a/tests/gdimagefile/gdnametest.c ++++ b/tests/gdimagefile/gdnametest.c +@@ -84,7 +84,7 @@ do_test() { + for (n = 0; names[n].nm; n++) { + gdImagePtr orig, copy; + int status; +- char *full_filename; ++ char *full_filename = NULL; + + /* Some image readers are buggy and crash the program so we + * skip them. Bug fixers should remove these from the list of |