{"action":"created","comment":{"url":"https://api.github.com/repos/radare/radare2/pulls/comments/72588102","id":72588102,"diff_hunk":"@@ -338,28 +343,44 @@ static int cmd_info(void *data, const char *input) {\n \t\t\t\t\treturn 0;\n \t\t\t\t}\n \t\t\t\tbiname = r_str_escape (core->file->desc->name);\n+\t\t\t\tif (!tmpcore) {\n+\t                                eprintf (\"Cannot create core\\n\");\n+\t\t\t\t        return 0;\n+\t                        }\n+\t\t\t\ttmpcore->bin->minstrlen = min;\n+\t\t\t\ttmpcore->bin->maxstrlen = max;\n+\t\t\t\tif (!r_bin_load (tmpcore->bin, biname, UT64_MAX, UT64_MAX, xtr_idx, fd, rawstr)){","path":"libr/core/cmd_info.c","position":22,"original_position":22,"commit_id":"3ed6687fba1f541175dafb4d454b581d72e0e980","original_commit_id":"3ed6687fba1f541175dafb4d454b581d72e0e980","user":{"login":"radare","id":917142,"avatar_url":"https://avatars.githubusercontent.com/u/917142?v=3","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"body":"fd is always -1 here","created_at":"2016-07-28T09:07:40Z","updated_at":"2016-07-28T09:07:40Z","html_url":"https://github.com/radare/radare2/pull/5401#discussion_r72588102","pull_request_url":"https://api.github.com/repos/radare/radare2/pulls/5401","_links":{"self":{"href":"https://api.github.com/repos/radare/radare2/pulls/comments/72588102"},"html":{"href":"https://github.com/radare/radare2/pull/5401#discussion_r72588102"},"pull_request":{"href":"https://api.github.com/repos/radare/radare2/pulls/5401"}}},"pull_request":{"url":"https://api.github.com/repos/radare/radare2/pulls/5401","id":79053171,"html_url":"https://github.com/radare/radare2/pull/5401","diff_url":"https://github.com/radare/radare2/pull/5401.diff","patch_url":"https://github.com/radare/radare2/pull/5401.patch","issue_url":"https://api.github.com/repos/radare/radare2/issues/5401","number":5401,"state":"open","locked":false,"title":"#5179 and TODO about avoid forks","user":{"login":"dariosharp","id":14238348,"avatar_url":"https://avatars.githubusercontent.com/u/14238348?v=3","gravatar_id":"","url":"https://api.github.com/users/dariosharp","html_url":"https://github.com/dariosharp","followers_url":"https://api.github.com/users/dariosharp/followers","following_url":"https://api.github.com/users/dariosharp/following{/other_user}","gists_url":"https://api.github.com/users/dariosharp/gists{/gist_id}","starred_url":"https://api.github.com/users/dariosharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariosharp/subscriptions","organizations_url":"https://api.github.com/users/dariosharp/orgs","repos_url":"https://api.github.com/users/dariosharp/repos","events_url":"https://api.github.com/users/dariosharp/events{/privacy}","received_events_url":"https://api.github.com/users/dariosharp/received_events","type":"User","site_admin":false},"body":"My solution about issue #5179 and I implemented part of TODO about avoid forks in 'izz*' / 'izzq' / 'izzj'. ","created_at":"2016-07-27T16:13:02Z","updated_at":"2016-07-28T09:07:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4e5d7b9f6282b1d5c995ef4c654a515461fcedf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/radare/radare2/pulls/5401/commits","review_comments_url":"https://api.github.com/repos/radare/radare2/pulls/5401/comments","review_comment_url":"https://api.github.com/repos/radare/radare2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/radare/radare2/issues/5401/comments","statuses_url":"https://api.github.com/repos/radare/radare2/statuses/3ed6687fba1f541175dafb4d454b581d72e0e980","head":{"label":"dariosharp:uncorrectJson","ref":"uncorrectJson","sha":"3ed6687fba1f541175dafb4d454b581d72e0e980","user":{"login":"dariosharp","id":14238348,"avatar_url":"https://avatars.githubusercontent.com/u/14238348?v=3","gravatar_id":"","url":"https://api.github.com/users/dariosharp","html_url":"https://github.com/dariosharp","followers_url":"https://api.github.com/users/dariosharp/followers","following_url":"https://api.github.com/users/dariosharp/following{/other_user}","gists_url":"https://api.github.com/users/dariosharp/gists{/gist_id}","starred_url":"https://api.github.com/users/dariosharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariosharp/subscriptions","organizations_url":"https://api.github.com/users/dariosharp/orgs","repos_url":"https://api.github.com/users/dariosharp/repos","events_url":"https://api.github.com/users/dariosharp/events{/privacy}","received_events_url":"https://api.github.com/users/dariosharp/received_events","type":"User","site_admin":false},"repo":{"id":64306492,"name":"radare2","full_name":"dariosharp/radare2","owner":{"login":"dariosharp","id":14238348,"avatar_url":"https://avatars.githubusercontent.com/u/14238348?v=3","gravatar_id":"","url":"https://api.github.com/users/dariosharp","html_url":"https://github.com/dariosharp","followers_url":"https://api.github.com/users/dariosharp/followers","following_url":"https://api.github.com/users/dariosharp/following{/other_user}","gists_url":"https://api.github.com/users/dariosharp/gists{/gist_id}","starred_url":"https://api.github.com/users/dariosharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariosharp/subscriptions","organizations_url":"https://api.github.com/users/dariosharp/orgs","repos_url":"https://api.github.com/users/dariosharp/repos","events_url":"https://api.github.com/users/dariosharp/events{/privacy}","received_events_url":"https://api.github.com/users/dariosharp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dariosharp/radare2","description":"unix-like reverse engineering framework and commandline tools","fork":true,"url":"https://api.github.com/repos/dariosharp/radare2","forks_url":"https://api.github.com/repos/dariosharp/radare2/forks","keys_url":"https://api.github.com/repos/dariosharp/radare2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dariosharp/radare2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dariosharp/radare2/teams","hooks_url":"https://api.github.com/repos/dariosharp/radare2/hooks","issue_events_url":"https://api.github.com/repos/dariosharp/radare2/issues/events{/number}","events_url":"https://api.github.com/repos/dariosharp/radare2/events","assignees_url":"https://api.github.com/repos/dariosharp/radare2/assignees{/user}","branches_url":"https://api.github.com/repos/dariosharp/radare2/branches{/branch}","tags_url":"https://api.github.com/repos/dariosharp/radare2/tags","blobs_url":"https://api.github.com/repos/dariosharp/radare2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dariosharp/radare2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dariosharp/radare2/git/refs{/sha}","trees_url":"https://api.github.com/repos/dariosharp/radare2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dariosharp/radare2/statuses/{sha}","languages_url":"https://api.github.com/repos/dariosharp/radare2/languages","stargazers_url":"https://api.github.com/repos/dariosharp/radare2/stargazers","contributors_url":"https://api.github.com/repos/dariosharp/radare2/contributors","subscribers_url":"https://api.github.com/repos/dariosharp/radare2/subscribers","subscription_url":"https://api.github.com/repos/dariosharp/radare2/subscription","commits_url":"https://api.github.com/repos/dariosharp/radare2/commits{/sha}","git_commits_url":"https://api.github.com/repos/dariosharp/radare2/git/commits{/sha}","comments_url":"https://api.github.com/repos/dariosharp/radare2/comments{/number}","issue_comment_url":"https://api.github.com/repos/dariosharp/radare2/issues/comments{/number}","contents_url":"https://api.github.com/repos/dariosharp/radare2/contents/{+path}","compare_url":"https://api.github.com/repos/dariosharp/radare2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dariosharp/radare2/merges","archive_url":"https://api.github.com/repos/dariosharp/radare2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dariosharp/radare2/downloads","issues_url":"https://api.github.com/repos/dariosharp/radare2/issues{/number}","pulls_url":"https://api.github.com/repos/dariosharp/radare2/pulls{/number}","milestones_url":"https://api.github.com/repos/dariosharp/radare2/milestones{/number}","notifications_url":"https://api.github.com/repos/dariosharp/radare2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dariosharp/radare2/labels{/name}","releases_url":"https://api.github.com/repos/dariosharp/radare2/releases{/id}","deployments_url":"https://api.github.com/repos/dariosharp/radare2/deployments","created_at":"2016-07-27T12:26:38Z","updated_at":"2016-07-27T12:26:50Z","pushed_at":"2016-07-27T17:15:49Z","git_url":"git://github.com/dariosharp/radare2.git","ssh_url":"git@github.com:dariosharp/radare2.git","clone_url":"https://github.com/dariosharp/radare2.git","svn_url":"https://github.com/dariosharp/radare2","homepage":"http://www.radare.org/","size":61117,"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":"radare:master","ref":"master","sha":"34dfdd6fdf6f304af3f9a191a6208a0b15ac12c8","user":{"login":"radare","id":917142,"avatar_url":"https://avatars.githubusercontent.com/u/917142?v=3","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"repo":{"id":4869294,"name":"radare2","full_name":"radare/radare2","owner":{"login":"radare","id":917142,"avatar_url":"https://avatars.githubusercontent.com/u/917142?v=3","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/radare/radare2","description":"unix-like reverse engineering framework and commandline tools","fork":false,"url":"https://api.github.com/repos/radare/radare2","forks_url":"https://api.github.com/repos/radare/radare2/forks","keys_url":"https://api.github.com/repos/radare/radare2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/radare/radare2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/radare/radare2/teams","hooks_url":"https://api.github.com/repos/radare/radare2/hooks","issue_events_url":"https://api.github.com/repos/radare/radare2/issues/events{/number}","events_url":"https://api.github.com/repos/radare/radare2/events","assignees_url":"https://api.github.com/repos/radare/radare2/assignees{/user}","branches_url":"https://api.github.com/repos/radare/radare2/branches{/branch}","tags_url":"https://api.github.com/repos/radare/radare2/tags","blobs_url":"https://api.github.com/repos/radare/radare2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/radare/radare2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/radare/radare2/git/refs{/sha}","trees_url":"https://api.github.com/repos/radare/radare2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/radare/radare2/statuses/{sha}","languages_url":"https://api.github.com/repos/radare/radare2/languages","stargazers_url":"https://api.github.com/repos/radare/radare2/stargazers","contributors_url":"https://api.github.com/repos/radare/radare2/contributors","subscribers_url":"https://api.github.com/repos/radare/radare2/subscribers","subscription_url":"https://api.github.com/repos/radare/radare2/subscription","commits_url":"https://api.github.com/repos/radare/radare2/commits{/sha}","git_commits_url":"https://api.github.com/repos/radare/radare2/git/commits{/sha}","comments_url":"https://api.github.com/repos/radare/radare2/comments{/number}","issue_comment_url":"https://api.github.com/repos/radare/radare2/issues/comments{/number}","contents_url":"https://api.github.com/repos/radare/radare2/contents/{+path}","compare_url":"https://api.github.com/repos/radare/radare2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/radare/radare2/merges","archive_url":"https://api.github.com/repos/radare/radare2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/radare/radare2/downloads","issues_url":"https://api.github.com/repos/radare/radare2/issues{/number}","pulls_url":"https://api.github.com/repos/radare/radare2/pulls{/number}","milestones_url":"https://api.github.com/repos/radare/radare2/milestones{/number}","notifications_url":"https://api.github.com/repos/radare/radare2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/radare/radare2/labels{/name}","releases_url":"https://api.github.com/repos/radare/radare2/releases{/id}","deployments_url":"https://api.github.com/repos/radare/radare2/deployments","created_at":"2012-07-03T07:42:26Z","updated_at":"2016-07-28T06:39:29Z","pushed_at":"2016-07-28T07:33:36Z","git_url":"git://github.com/radare/radare2.git","ssh_url":"git@github.com:radare/radare2.git","clone_url":"https://github.com/radare/radare2.git","svn_url":"https://github.com/radare/radare2","homepage":"http://www.radare.org/","size":78746,"stargazers_count":2960,"watchers_count":2960,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":663,"mirror_url":null,"open_issues_count":778,"forks":663,"open_issues":778,"watchers":2960,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/radare/radare2/pulls/5401"},"html":{"href":"https://github.com/radare/radare2/pull/5401"},"issue":{"href":"https://api.github.com/repos/radare/radare2/issues/5401"},"comments":{"href":"https://api.github.com/repos/radare/radare2/issues/5401/comments"},"review_comments":{"href":"https://api.github.com/repos/radare/radare2/pulls/5401/comments"},"review_comment":{"href":"https://api.github.com/repos/radare/radare2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/radare/radare2/pulls/5401/commits"},"statuses":{"href":"https://api.github.com/repos/radare/radare2/statuses/3ed6687fba1f541175dafb4d454b581d72e0e980"}}}}
{"actor":{"display_login":"radare"}}