{"action":"reopened","number":1677,"pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/1677","id":53778575,"html_url":"https://github.com/php/php-src/pull/1677","diff_url":"https://github.com/php/php-src/pull/1677.diff","patch_url":"https://github.com/php/php-src/pull/1677.patch","issue_url":"https://api.github.com/repos/php/php-src/issues/1677","number":1677,"state":"open","locked":false,"title":"Fix 2 segfaults in the range() function","user":{"login":"tpunt","id":1403064,"avatar_url":"https://avatars.githubusercontent.com/u/1403064?v=3","gravatar_id":"","url":"https://api.github.com/users/tpunt","html_url":"https://github.com/tpunt","followers_url":"https://api.github.com/users/tpunt/followers","following_url":"https://api.github.com/users/tpunt/following{/other_user}","gists_url":"https://api.github.com/users/tpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/tpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpunt/subscriptions","organizations_url":"https://api.github.com/users/tpunt/orgs","repos_url":"https://api.github.com/users/tpunt/repos","events_url":"https://api.github.com/users/tpunt/events{/privacy}","received_events_url":"https://api.github.com/users/tpunt/received_events","type":"User","site_admin":false},"body":"Both segfaults occur due to accuracy lost when representing 64bit longs as\r\ndoubles.\r\n\r\nThe segfaults can be replicated with:\r\n```PHP\r\nrange(PHP_INT_MIN + 513, PHP_INT_MIN); // Seg fault on line 2236\r\nrange(PHP_INT_MAX - 512, PHP_INT_MAX); // Seg fault on line 2249\r\n```\r\nThis fixes [Bug #71132](https://bugs.php.net/bug.php?id=71132)","created_at":"2015-12-15T23:31:22Z","updated_at":"2015-12-16T15:56:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01b642790a442d908b75a16c3f9b0944d39597b7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/php/php-src/pulls/1677/commits","review_comments_url":"https://api.github.com/repos/php/php-src/pulls/1677/comments","review_comment_url":"https://api.github.com/repos/php/php-src/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php/php-src/issues/1677/comments","statuses_url":"https://api.github.com/repos/php/php-src/statuses/36bc2fcb066b83cb0a92782d9d8ec9d1e83b661a","head":{"label":"tpunt:fix-segfaults-in-range-function","ref":"fix-segfaults-in-range-function","sha":"36bc2fcb066b83cb0a92782d9d8ec9d1e83b661a","user":{"login":"tpunt","id":1403064,"avatar_url":"https://avatars.githubusercontent.com/u/1403064?v=3","gravatar_id":"","url":"https://api.github.com/users/tpunt","html_url":"https://github.com/tpunt","followers_url":"https://api.github.com/users/tpunt/followers","following_url":"https://api.github.com/users/tpunt/following{/other_user}","gists_url":"https://api.github.com/users/tpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/tpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpunt/subscriptions","organizations_url":"https://api.github.com/users/tpunt/orgs","repos_url":"https://api.github.com/users/tpunt/repos","events_url":"https://api.github.com/users/tpunt/events{/privacy}","received_events_url":"https://api.github.com/users/tpunt/received_events","type":"User","site_admin":false},"repo":{"id":31115353,"name":"php-src","full_name":"tpunt/php-src","owner":{"login":"tpunt","id":1403064,"avatar_url":"https://avatars.githubusercontent.com/u/1403064?v=3","gravatar_id":"","url":"https://api.github.com/users/tpunt","html_url":"https://github.com/tpunt","followers_url":"https://api.github.com/users/tpunt/followers","following_url":"https://api.github.com/users/tpunt/following{/other_user}","gists_url":"https://api.github.com/users/tpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/tpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpunt/subscriptions","organizations_url":"https://api.github.com/users/tpunt/orgs","repos_url":"https://api.github.com/users/tpunt/repos","events_url":"https://api.github.com/users/tpunt/events{/privacy}","received_events_url":"https://api.github.com/users/tpunt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tpunt/php-src","description":"The PHP Interpreter","fork":true,"url":"https://api.github.com/repos/tpunt/php-src","forks_url":"https://api.github.com/repos/tpunt/php-src/forks","keys_url":"https://api.github.com/repos/tpunt/php-src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tpunt/php-src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tpunt/php-src/teams","hooks_url":"https://api.github.com/repos/tpunt/php-src/hooks","issue_events_url":"https://api.github.com/repos/tpunt/php-src/issues/events{/number}","events_url":"https://api.github.com/repos/tpunt/php-src/events","assignees_url":"https://api.github.com/repos/tpunt/php-src/assignees{/user}","branches_url":"https://api.github.com/repos/tpunt/php-src/branches{/branch}","tags_url":"https://api.github.com/repos/tpunt/php-src/tags","blobs_url":"https://api.github.com/repos/tpunt/php-src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tpunt/php-src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tpunt/php-src/git/refs{/sha}","trees_url":"https://api.github.com/repos/tpunt/php-src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tpunt/php-src/statuses/{sha}","languages_url":"https://api.github.com/repos/tpunt/php-src/languages","stargazers_url":"https://api.github.com/repos/tpunt/php-src/stargazers","contributors_url":"https://api.github.com/repos/tpunt/php-src/contributors","subscribers_url":"https://api.github.com/repos/tpunt/php-src/subscribers","subscription_url":"https://api.github.com/repos/tpunt/php-src/subscription","commits_url":"https://api.github.com/repos/tpunt/php-src/commits{/sha}","git_commits_url":"https://api.github.com/repos/tpunt/php-src/git/commits{/sha}","comments_url":"https://api.github.com/repos/tpunt/php-src/comments{/number}","issue_comment_url":"https://api.github.com/repos/tpunt/php-src/issues/comments{/number}","contents_url":"https://api.github.com/repos/tpunt/php-src/contents/{+path}","compare_url":"https://api.github.com/repos/tpunt/php-src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tpunt/php-src/merges","archive_url":"https://api.github.com/repos/tpunt/php-src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tpunt/php-src/downloads","issues_url":"https://api.github.com/repos/tpunt/php-src/issues{/number}","pulls_url":"https://api.github.com/repos/tpunt/php-src/pulls{/number}","milestones_url":"https://api.github.com/repos/tpunt/php-src/milestones{/number}","notifications_url":"https://api.github.com/repos/tpunt/php-src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tpunt/php-src/labels{/name}","releases_url":"https://api.github.com/repos/tpunt/php-src/releases{/id}","created_at":"2015-02-21T04:34:02Z","updated_at":"2015-07-15T11:04:07Z","pushed_at":"2015-12-16T00:09:09Z","git_url":"git://github.com/tpunt/php-src.git","ssh_url":"git@github.com:tpunt/php-src.git","clone_url":"https://github.com/tpunt/php-src.git","svn_url":"https://github.com/tpunt/php-src","homepage":"http://www.php.net","size":253528,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"php:master","ref":"master","sha":"c88ffa9a5673cb3141660626ba1921671f0b84d6","user":{"login":"php","id":25158,"avatar_url":"https://avatars.githubusercontent.com/u/25158?v=3","gravatar_id":"","url":"https://api.github.com/users/php","html_url":"https://github.com/php","followers_url":"https://api.github.com/users/php/followers","following_url":"https://api.github.com/users/php/following{/other_user}","gists_url":"https://api.github.com/users/php/gists{/gist_id}","starred_url":"https://api.github.com/users/php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php/subscriptions","organizations_url":"https://api.github.com/users/php/orgs","repos_url":"https://api.github.com/users/php/repos","events_url":"https://api.github.com/users/php/events{/privacy}","received_events_url":"https://api.github.com/users/php/received_events","type":"Organization","site_admin":false},"repo":{"id":1903522,"name":"php-src","full_name":"php/php-src","owner":{"login":"php","id":25158,"avatar_url":"https://avatars.githubusercontent.com/u/25158?v=3","gravatar_id":"","url":"https://api.github.com/users/php","html_url":"https://github.com/php","followers_url":"https://api.github.com/users/php/followers","following_url":"https://api.github.com/users/php/following{/other_user}","gists_url":"https://api.github.com/users/php/gists{/gist_id}","starred_url":"https://api.github.com/users/php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php/subscriptions","organizations_url":"https://api.github.com/users/php/orgs","repos_url":"https://api.github.com/users/php/repos","events_url":"https://api.github.com/users/php/events{/privacy}","received_events_url":"https://api.github.com/users/php/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php/php-src","description":"The PHP Interpreter","fork":false,"url":"https://api.github.com/repos/php/php-src","forks_url":"https://api.github.com/repos/php/php-src/forks","keys_url":"https://api.github.com/repos/php/php-src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php/php-src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php/php-src/teams","hooks_url":"https://api.github.com/repos/php/php-src/hooks","issue_events_url":"https://api.github.com/repos/php/php-src/issues/events{/number}","events_url":"https://api.github.com/repos/php/php-src/events","assignees_url":"https://api.github.com/repos/php/php-src/assignees{/user}","branches_url":"https://api.github.com/repos/php/php-src/branches{/branch}","tags_url":"https://api.github.com/repos/php/php-src/tags","blobs_url":"https://api.github.com/repos/php/php-src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php/php-src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php/php-src/git/refs{/sha}","trees_url":"https://api.github.com/repos/php/php-src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php/php-src/statuses/{sha}","languages_url":"https://api.github.com/repos/php/php-src/languages","stargazers_url":"https://api.github.com/repos/php/php-src/stargazers","contributors_url":"https://api.github.com/repos/php/php-src/contributors","subscribers_url":"https://api.github.com/repos/php/php-src/subscribers","subscription_url":"https://api.github.com/repos/php/php-src/subscription","commits_url":"https://api.github.com/repos/php/php-src/commits{/sha}","git_commits_url":"https://api.github.com/repos/php/php-src/git/commits{/sha}","comments_url":"https://api.github.com/repos/php/php-src/comments{/number}","issue_comment_url":"https://api.github.com/repos/php/php-src/issues/comments{/number}","contents_url":"https://api.github.com/repos/php/php-src/contents/{+path}","compare_url":"https://api.github.com/repos/php/php-src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php/php-src/merges","archive_url":"https://api.github.com/repos/php/php-src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php/php-src/downloads","issues_url":"https://api.github.com/repos/php/php-src/issues{/number}","pulls_url":"https://api.github.com/repos/php/php-src/pulls{/number}","milestones_url":"https://api.github.com/repos/php/php-src/milestones{/number}","notifications_url":"https://api.github.com/repos/php/php-src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php/php-src/labels{/name}","releases_url":"https://api.github.com/repos/php/php-src/releases{/id}","created_at":"2011-06-16T01:52:25Z","updated_at":"2015-12-16T11:25:00Z","pushed_at":"2015-12-16T15:47:30Z","git_url":"git://github.com/php/php-src.git","ssh_url":"git@github.com:php/php-src.git","clone_url":"https://github.com/php/php-src.git","svn_url":"https://github.com/php/php-src","homepage":"http://www.php.net","size":293030,"stargazers_count":8281,"watchers_count":8281,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2787,"mirror_url":null,"open_issues_count":283,"forks":2787,"open_issues":283,"watchers":8281,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php/php-src/pulls/1677"},"html":{"href":"https://github.com/php/php-src/pull/1677"},"issue":{"href":"https://api.github.com/repos/php/php-src/issues/1677"},"comments":{"href":"https://api.github.com/repos/php/php-src/issues/1677/comments"},"review_comments":{"href":"https://api.github.com/repos/php/php-src/pulls/1677/comments"},"review_comment":{"href":"https://api.github.com/repos/php/php-src/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php/php-src/pulls/1677/commits"},"statuses":{"href":"https://api.github.com/repos/php/php-src/statuses/36bc2fcb066b83cb0a92782d9d8ec9d1e83b661a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":51,"deletions":9,"changed_files":2}}