Crash when passing string to gmp_testbit
| Bug #66872 | Crash when passing string to gmp_testbit | ||||
|---|---|---|---|---|---|
| Submitted: | 2014-03-09 20:22 UTC | Modified: | 2014-03-10 12:11 UTC | ||
| From: | contact at dimitrifourny dot com | Assigned: | nikic (profile) | ||
| Status: | Closed | Package: | Reproducible crash | ||
| PHP Version: | 5.6.0alpha3 | OS: | Windows7 x64 | ||
| Private report: | No | CVE-ID: | None | ||
[2014-03-09 20:22 UTC] contact at dimitrifourny dot com
Description:
------------
Hello!
I have found a possible security issues.
Can you fix it to make a more stable PHP version please?
Thank you for your good job!
Test script:
---------------
<?php
gmp_testbit(str_repeat("A", 2000), 1);
?>
Actual result:
--------------
A nice crash on Windows 7 x64.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2014-03-10 12:11 UTC] nikic@php.net
-Summary: A reproductible crash in PHP 5.6 (5.6.0alpha3) +Summary: Crash when passing string to gmp_testbit -Assigned To: +Assigned To: nikic