Skip to content

0.6.1: Spyc.php fails to account for negative PHP_INT_MAX

Compare
Choose a tag to compare
@jackmcdade jackmcdade released this 24 Oct 00:32
· 17 commits to master since this release
While detecting the int type, spyc properly checks if the numerical value exceeds PHP_INT_MAX. However, it fails to account for the negative limit, so numbers less than (for example) the 64-bit limit of `-9223372036854775808` get clobbered into the limit.