{"action":"created","issue":{"url":"https://api.github.com/repos/php/php-src/issues/3566","repository_url":"https://api.github.com/repos/php/php-src","labels_url":"https://api.github.com/repos/php/php-src/issues/3566/labels{/name}","comments_url":"https://api.github.com/repos/php/php-src/issues/3566/comments","events_url":"https://api.github.com/repos/php/php-src/issues/3566/events","html_url":"https://github.com/php/php-src/pull/3566","id":365317478,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MjY1OTMx","number":3566,"title":"Fix #76954 Use while loop in func add_response_header","user":{"login":"stodorovic","id":15647032,"node_id":"MDQ6VXNlcjE1NjQ3MDMy","avatar_url":"https://avatars1.githubusercontent.com/u/15647032?v=4","gravatar_id":"","url":"https://api.github.com/users/stodorovic","html_url":"https://github.com/stodorovic","followers_url":"https://api.github.com/users/stodorovic/followers","following_url":"https://api.github.com/users/stodorovic/following{/other_user}","gists_url":"https://api.github.com/users/stodorovic/gists{/gist_id}","starred_url":"https://api.github.com/users/stodorovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stodorovic/subscriptions","organizations_url":"https://api.github.com/users/stodorovic/orgs","repos_url":"https://api.github.com/users/stodorovic/repos","events_url":"https://api.github.com/users/stodorovic/events{/privacy}","received_events_url":"https://api.github.com/users/stodorovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-01T05:52:38Z","updated_at":"2018-10-01T05:59:57Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/3566","html_url":"https://github.com/php/php-src/pull/3566","diff_url":"https://github.com/php/php-src/pull/3566.diff","patch_url":"https://github.com/php/php-src/pull/3566.patch"},"body":"Related issues:\r\n\r\nhttps://bugs.php.net/bug.php?id=76954\r\nhttps://github.com/Automattic/wp-super-cache/issues/539\r\n\r\nPHP 5.6 uses _while_ loop, but PHP 7.x uses _do ... while_ which decreases `len` before condition. Parameter `len` in function [`memcpy`](http://pubs.opengroup.org/onlinepubs/007904975/functions/memcpy.html) has decreased length and last character isn't copied."},"comment":{"url":"https://api.github.com/repos/php/php-src/issues/comments/425797596","html_url":"https://github.com/php/php-src/pull/3566#issuecomment-425797596","issue_url":"https://api.github.com/repos/php/php-src/issues/3566","id":425797596,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTc5NzU5Ng==","user":{"login":"staabm","id":120441,"node_id":"MDQ6VXNlcjEyMDQ0MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/120441?v=4","gravatar_id":"","url":"https://api.github.com/users/staabm","html_url":"https://github.com/staabm","followers_url":"https://api.github.com/users/staabm/followers","following_url":"https://api.github.com/users/staabm/following{/other_user}","gists_url":"https://api.github.com/users/staabm/gists{/gist_id}","starred_url":"https://api.github.com/users/staabm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staabm/subscriptions","organizations_url":"https://api.github.com/users/staabm/orgs","repos_url":"https://api.github.com/users/staabm/repos","events_url":"https://api.github.com/users/staabm/events{/privacy}","received_events_url":"https://api.github.com/users/staabm/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T05:59:57Z","updated_at":"2018-10-01T05:59:57Z","author_association":"CONTRIBUTOR","body":"Could you add a unit test?"}}
{"actor":{"display_login":"staabm"}}