EvanDotPro / Sslurp

Sslurp is a simple library which aims to make properly dealing with SSL in PHP suck less.
BSD 2-Clause "Simplified" License
66 stars 11 forks source link

Fatal error when I run the tests #6

Open mikeSimonson opened 9 years ago

mikeSimonson commented 9 years ago

First I used PR that updated the pinned version of the certificate. Then I tried running the tests on my machine php 5.5.9.

phpunit -c test/phpunit.xml --filter testMozillaCertDataOnlineCheck2
PHPUnit 4.4.1 by Sebastian Bergmann.

Configuration read from .../Sslurp/test/phpunit.xml

PHP Fatal error:  String size overflow in ..../Sslurp/src/Sslurp/MozillaCertData.php on line 138

Fatal error: String size overflow in ..../Sslurp/src/Sslurp/MozillaCertData.php on line 138
mikeSimonson commented 9 years ago

It fails because php fills 2G of ram and apparently it's the length limit of a string.

Now I have no idea what's filling the memory that fast...