{"action":"opened","number":3269,"pull_request":{"url":"https://api.github.com/repos/mruby/mruby/pulls/3269","id":95073327,"html_url":"https://github.com/mruby/mruby/pull/3269","diff_url":"https://github.com/mruby/mruby/pull/3269.diff","patch_url":"https://github.com/mruby/mruby/pull/3269.patch","issue_url":"https://api.github.com/repos/mruby/mruby/issues/3269","number":3269,"state":"open","locked":false,"title":"Fix segfault when Fixnum#chr doesn't return a string","user":{"login":"bouk","id":97820,"avatar_url":"https://avatars.githubusercontent.com/u/97820?v=3","gravatar_id":"","url":"https://api.github.com/users/bouk","html_url":"https://github.com/bouk","followers_url":"https://api.github.com/users/bouk/followers","following_url":"https://api.github.com/users/bouk/following{/other_user}","gists_url":"https://api.github.com/users/bouk/gists{/gist_id}","starred_url":"https://api.github.com/users/bouk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouk/subscriptions","organizations_url":"https://api.github.com/users/bouk/orgs","repos_url":"https://api.github.com/users/bouk/repos","events_url":"https://api.github.com/users/bouk/events{/privacy}","received_events_url":"https://api.github.com/users/bouk/received_events","type":"User","site_admin":false},"body":"This code can cause a segfault currently:\r\n\r\n```ruby\r\nclass Fixnum\r\n  def chr\r\n    nil\r\n  end\r\nend\r\n\r\n\"%c\" % 0\r\n```\r\n\r\n@matz","created_at":"2016-11-23T20:21:40Z","updated_at":"2016-11-23T20:21:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee3db594156890871c1bdf5bf3aad560bc256c22","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mruby/mruby/pulls/3269/commits","review_comments_url":"https://api.github.com/repos/mruby/mruby/pulls/3269/comments","review_comment_url":"https://api.github.com/repos/mruby/mruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mruby/mruby/issues/3269/comments","statuses_url":"https://api.github.com/repos/mruby/mruby/statuses/9bf1c0e1dc09d9aa577554d58d91f3889a77b918","head":{"label":"bouk:fix-printf-segfault","ref":"fix-printf-segfault","sha":"9bf1c0e1dc09d9aa577554d58d91f3889a77b918","user":{"login":"bouk","id":97820,"avatar_url":"https://avatars.githubusercontent.com/u/97820?v=3","gravatar_id":"","url":"https://api.github.com/users/bouk","html_url":"https://github.com/bouk","followers_url":"https://api.github.com/users/bouk/followers","following_url":"https://api.github.com/users/bouk/following{/other_user}","gists_url":"https://api.github.com/users/bouk/gists{/gist_id}","starred_url":"https://api.github.com/users/bouk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouk/subscriptions","organizations_url":"https://api.github.com/users/bouk/orgs","repos_url":"https://api.github.com/users/bouk/repos","events_url":"https://api.github.com/users/bouk/events{/privacy}","received_events_url":"https://api.github.com/users/bouk/received_events","type":"User","site_admin":false},"repo":{"id":73575710,"name":"mruby","full_name":"bouk/mruby","owner":{"login":"bouk","id":97820,"avatar_url":"https://avatars.githubusercontent.com/u/97820?v=3","gravatar_id":"","url":"https://api.github.com/users/bouk","html_url":"https://github.com/bouk","followers_url":"https://api.github.com/users/bouk/followers","following_url":"https://api.github.com/users/bouk/following{/other_user}","gists_url":"https://api.github.com/users/bouk/gists{/gist_id}","starred_url":"https://api.github.com/users/bouk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouk/subscriptions","organizations_url":"https://api.github.com/users/bouk/orgs","repos_url":"https://api.github.com/users/bouk/repos","events_url":"https://api.github.com/users/bouk/events{/privacy}","received_events_url":"https://api.github.com/users/bouk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bouk/mruby","description":"Lightweight Ruby","fork":true,"url":"https://api.github.com/repos/bouk/mruby","forks_url":"https://api.github.com/repos/bouk/mruby/forks","keys_url":"https://api.github.com/repos/bouk/mruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bouk/mruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bouk/mruby/teams","hooks_url":"https://api.github.com/repos/bouk/mruby/hooks","issue_events_url":"https://api.github.com/repos/bouk/mruby/issues/events{/number}","events_url":"https://api.github.com/repos/bouk/mruby/events","assignees_url":"https://api.github.com/repos/bouk/mruby/assignees{/user}","branches_url":"https://api.github.com/repos/bouk/mruby/branches{/branch}","tags_url":"https://api.github.com/repos/bouk/mruby/tags","blobs_url":"https://api.github.com/repos/bouk/mruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bouk/mruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bouk/mruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/bouk/mruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bouk/mruby/statuses/{sha}","languages_url":"https://api.github.com/repos/bouk/mruby/languages","stargazers_url":"https://api.github.com/repos/bouk/mruby/stargazers","contributors_url":"https://api.github.com/repos/bouk/mruby/contributors","subscribers_url":"https://api.github.com/repos/bouk/mruby/subscribers","subscription_url":"https://api.github.com/repos/bouk/mruby/subscription","commits_url":"https://api.github.com/repos/bouk/mruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/bouk/mruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/bouk/mruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/bouk/mruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/bouk/mruby/contents/{+path}","compare_url":"https://api.github.com/repos/bouk/mruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bouk/mruby/merges","archive_url":"https://api.github.com/repos/bouk/mruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bouk/mruby/downloads","issues_url":"https://api.github.com/repos/bouk/mruby/issues{/number}","pulls_url":"https://api.github.com/repos/bouk/mruby/pulls{/number}","milestones_url":"https://api.github.com/repos/bouk/mruby/milestones{/number}","notifications_url":"https://api.github.com/repos/bouk/mruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bouk/mruby/labels{/name}","releases_url":"https://api.github.com/repos/bouk/mruby/releases{/id}","deployments_url":"https://api.github.com/repos/bouk/mruby/deployments","created_at":"2016-11-12T20:09:20Z","updated_at":"2016-11-12T20:09:22Z","pushed_at":"2016-11-23T20:20:48Z","git_url":"git://github.com/bouk/mruby.git","ssh_url":"git@github.com:bouk/mruby.git","clone_url":"https://github.com/bouk/mruby.git","svn_url":"https://github.com/bouk/mruby","homepage":null,"size":8755,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mruby:master","ref":"master","sha":"669bbc70b0553b68483c8d7eff8c31a602f283e9","user":{"login":"mruby","id":1796512,"avatar_url":"https://avatars.githubusercontent.com/u/1796512?v=3","gravatar_id":"","url":"https://api.github.com/users/mruby","html_url":"https://github.com/mruby","followers_url":"https://api.github.com/users/mruby/followers","following_url":"https://api.github.com/users/mruby/following{/other_user}","gists_url":"https://api.github.com/users/mruby/gists{/gist_id}","starred_url":"https://api.github.com/users/mruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruby/subscriptions","organizations_url":"https://api.github.com/users/mruby/orgs","repos_url":"https://api.github.com/users/mruby/repos","events_url":"https://api.github.com/users/mruby/events{/privacy}","received_events_url":"https://api.github.com/users/mruby/received_events","type":"Organization","site_admin":false},"repo":{"id":4073516,"name":"mruby","full_name":"mruby/mruby","owner":{"login":"mruby","id":1796512,"avatar_url":"https://avatars.githubusercontent.com/u/1796512?v=3","gravatar_id":"","url":"https://api.github.com/users/mruby","html_url":"https://github.com/mruby","followers_url":"https://api.github.com/users/mruby/followers","following_url":"https://api.github.com/users/mruby/following{/other_user}","gists_url":"https://api.github.com/users/mruby/gists{/gist_id}","starred_url":"https://api.github.com/users/mruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruby/subscriptions","organizations_url":"https://api.github.com/users/mruby/orgs","repos_url":"https://api.github.com/users/mruby/repos","events_url":"https://api.github.com/users/mruby/events{/privacy}","received_events_url":"https://api.github.com/users/mruby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mruby/mruby","description":"Lightweight Ruby","fork":false,"url":"https://api.github.com/repos/mruby/mruby","forks_url":"https://api.github.com/repos/mruby/mruby/forks","keys_url":"https://api.github.com/repos/mruby/mruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mruby/mruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mruby/mruby/teams","hooks_url":"https://api.github.com/repos/mruby/mruby/hooks","issue_events_url":"https://api.github.com/repos/mruby/mruby/issues/events{/number}","events_url":"https://api.github.com/repos/mruby/mruby/events","assignees_url":"https://api.github.com/repos/mruby/mruby/assignees{/user}","branches_url":"https://api.github.com/repos/mruby/mruby/branches{/branch}","tags_url":"https://api.github.com/repos/mruby/mruby/tags","blobs_url":"https://api.github.com/repos/mruby/mruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mruby/mruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mruby/mruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/mruby/mruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mruby/mruby/statuses/{sha}","languages_url":"https://api.github.com/repos/mruby/mruby/languages","stargazers_url":"https://api.github.com/repos/mruby/mruby/stargazers","contributors_url":"https://api.github.com/repos/mruby/mruby/contributors","subscribers_url":"https://api.github.com/repos/mruby/mruby/subscribers","subscription_url":"https://api.github.com/repos/mruby/mruby/subscription","commits_url":"https://api.github.com/repos/mruby/mruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/mruby/mruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/mruby/mruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/mruby/mruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/mruby/mruby/contents/{+path}","compare_url":"https://api.github.com/repos/mruby/mruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mruby/mruby/merges","archive_url":"https://api.github.com/repos/mruby/mruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mruby/mruby/downloads","issues_url":"https://api.github.com/repos/mruby/mruby/issues{/number}","pulls_url":"https://api.github.com/repos/mruby/mruby/pulls{/number}","milestones_url":"https://api.github.com/repos/mruby/mruby/milestones{/number}","notifications_url":"https://api.github.com/repos/mruby/mruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mruby/mruby/labels{/name}","releases_url":"https://api.github.com/repos/mruby/mruby/releases{/id}","deployments_url":"https://api.github.com/repos/mruby/mruby/deployments","created_at":"2012-04-19T09:11:15Z","updated_at":"2016-11-22T10:43:30Z","pushed_at":"2016-11-23T20:21:40Z","git_url":"git://github.com/mruby/mruby.git","ssh_url":"git@github.com:mruby/mruby.git","clone_url":"https://github.com/mruby/mruby.git","svn_url":"https://github.com/mruby/mruby","homepage":null,"size":17455,"stargazers_count":3666,"watchers_count":3666,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":564,"mirror_url":null,"open_issues_count":145,"forks":564,"open_issues":145,"watchers":3666,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mruby/mruby/pulls/3269"},"html":{"href":"https://github.com/mruby/mruby/pull/3269"},"issue":{"href":"https://api.github.com/repos/mruby/mruby/issues/3269"},"comments":{"href":"https://api.github.com/repos/mruby/mruby/issues/3269/comments"},"review_comments":{"href":"https://api.github.com/repos/mruby/mruby/pulls/3269/comments"},"review_comment":{"href":"https://api.github.com/repos/mruby/mruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mruby/mruby/pulls/3269/commits"},"statuses":{"href":"https://api.github.com/repos/mruby/mruby/statuses/9bf1c0e1dc09d9aa577554d58d91f3889a77b918"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":24,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"bouk"}}