com php-src: Move GMP bug 74670 test file to tests dir: ext/gmp/bug74670.phpt ext/gmp/tests/bug74670.phpt

From: Date: Fri, 20 Jul 2018 17:43:09 +0000
Subject: com php-src: Move GMP bug 74670 test file to tests dir: ext/gmp/bug74670.phpt ext/gmp/tests/bug74670.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102626@lists.php.net to get a copy of this message
Commit: fef2029614a3249bbe08e854734ec6d8ff1547a6 Author: Peter Kokot <peterkokot@gmail.com> Thu, 19 Jul 2018 23:05:34 +0200 Committer: Peter Kokot <petk@php.net> Fri, 20 Jul 2018 19:43:09 +0200 Parents: ee561ff2a2ad6783c3f54092264ca2c622cf88f6 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fef2029614a3249bbe08e854734ec6d8ff1547a6 Log: Move GMP bug 74670 test file to tests dir Bugs: https://bugs.php.net/74670 Changed paths: D ext/gmp/bug74670.phpt A ext/gmp/tests/bug74670.phpt Diff: diff --git a/ext/gmp/bug74670.phpt b/ext/gmp/bug74670.phpt deleted file mode 100644 index a28640b..0000000 --- a/ext/gmp/bug74670.phpt +++ /dev/null @@ -1,10 +0,0 @@ ---TEST-- -Bug #74670: Integer Underflow when unserializing GMP and possible other classes ---FILE-- -<?php -$str = 'C:3:"GMP":4:{s:6666666666:""}'; -var_dump(unserialize($str)); -?> ---EXPECTF-- -Notice: unserialize(): Error at offset 13 of 29 bytes in %s on line %d -bool(false) diff --git a/ext/gmp/tests/bug74670.phpt b/ext/gmp/tests/bug74670.phpt new file mode 100644 index 0000000..a28640b --- /dev/null +++ b/ext/gmp/tests/bug74670.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #74670: Integer Underflow when unserializing GMP and possible other classes +--FILE-- +<?php +$str = 'C:3:"GMP":4:{s:6666666666:""}'; +var_dump(unserialize($str)); +?> +--EXPECTF-- +Notice: unserialize(): Error at offset 13 of 29 bytes in %s on line %d +bool(false)

« previous php.cvs (#102626) next »