diff options
author | Nikita Popov <nikic@php.net> | 2015-10-12 22:05:19 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-10-15 22:14:23 +0200 |
commit | e3e92e96c158c4fc294ead36f9d73941bdbf679e (patch) | |
tree | 948a1cb322ae5f48cae3da4a66c84917e9a0a88b /Zend/tests/bug70430.phpt | |
parent | 06f38d36a8df884775fc674d09f30cc7949c987d (diff) | |
download | php-git-e3e92e96c158c4fc294ead36f9d73941bdbf679e.tar.gz |
Fixed bug #70430
Diffstat (limited to 'Zend/tests/bug70430.phpt')
-rw-r--r-- | Zend/tests/bug70430.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Zend/tests/bug70430.phpt b/Zend/tests/bug70430.phpt new file mode 100644 index 0000000000..59983653e9 --- /dev/null +++ b/Zend/tests/bug70430.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #70430: Stack buffer overflow in zend_language_parser() +--FILE-- +<?php + +$"*** Testing function() : ***\n"; + +?> +--EXPECTF-- +Parse error: syntax error, unexpected '"*** Testing function() : ***' (T_CONSTANT_ENCAPSED_STRING), expecting variable (T_VARIABLE) or '{' or '$' in %s on line %d |