We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d45c4f commit 6b6f7a0Copy full SHA for 6b6f7a0
ext/gd/tests/gh16771.phpt
@@ -0,0 +1,10 @@
1
+--TEST--
2
+GH-16771 (UBSan abort in ext/gd/libgd/gd.c:1372)
3
+--EXTENSIONS--
4
+gd
5
+--FILE--
6
+<?php
7
+$string_mb = base64_decode('5pel5pys6Kqe44OG44Kt44K544OIMzTvvJXvvJbml6XmnKzoqp7jg4bjgq3jgrnjg4g=');
8
+imagecreatefromstring($string_mb);
9
+--EXPECTF--
10
+Warning: imagecreatefromstring(): Data is not in a recognized format in %s on line %d
0 commit comments