Bug #71132 [Com]: 2 segfaults in PHP's range() function

From: Date: Tue, 15 Dec 2015 23:38:30 +0000
Subject: Bug #71132 [Com]: 2 segfaults in PHP's range() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197920@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71132&edit=1 ID: 71132 Comment by: tpunt@php.net Reported by: tpunt@php.net Summary: 2 segfaults in PHP's range() function Status: Assigned Type: Bug Package: Reproducible crash Operating System: Mac OS X Yosemite PHP Version: 7.0.0 Assigned To: tpunt Block user comment: N Private report: N New Comment: PR: https://github.com/php/php-src/pull/1677 Previous Comments: ------------------------------------------------------------------------ [2015-12-15 23:37:53] tpunt@php.net The following patch has been added/updated: Patch Name: range-segfault-patch Revision: 1450222672 URL: https://bugs.php.net/patch-display.php?bug=71132&patch=range-segfault-patch&revision=1450222672 ------------------------------------------------------------------------ [2015-12-15 23:29:38] tpunt@php.net Description: ------------ There's two segmentation faults in PHP's range() function. These can both be reproduced below. I will submit a PR shortly referencing this bug report. Test script: --------------- range(PHP_INT_MIN + 513, PHP_INT_MIN); // Seg fault on line 2236 range(PHP_INT_MAX - 512, PHP_INT_MAX); // Seg fault on line 2249 Actual result: -------------- Segmentation fault: 11 Segmentation fault: 11 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71132&edit=1

« previous php.bugs (#197920) next »