{"action":"created","comment":{"url":"https://api.github.com/repos/google/oss-fuzz/pulls/comments/150626956","pull_request_review_id":76205076,"id":150626956,"diff_hunk":"@@ -0,0 +1,30 @@\n+#include <memory>\n+#include <stddef.h>\n+#include <string>\n+#include <unistd.h>\n+\n+#include \"rar.hpp\"\n+\n+extern \"C\" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {\n+  char filename[] = \"mytemp.XXXXXX\";\n+  int fd = mkstemp(filename);\n+  write(fd, data, size);","path":"projects/unrar/unrar_fuzzer.cc","position":11,"original_position":11,"commit_id":"aadd68a7abb75cb35689481a1d7f982794796dfb","original_commit_id":"aadd68a7abb75cb35689481a1d7f982794796dfb","user":{"login":"aawc","id":423205,"avatar_url":"https://avatars1.githubusercontent.com/u/423205?v=4","gravatar_id":"","url":"https://api.github.com/users/aawc","html_url":"https://github.com/aawc","followers_url":"https://api.github.com/users/aawc/followers","following_url":"https://api.github.com/users/aawc/following{/other_user}","gists_url":"https://api.github.com/users/aawc/gists{/gist_id}","starred_url":"https://api.github.com/users/aawc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aawc/subscriptions","organizations_url":"https://api.github.com/users/aawc/orgs","repos_url":"https://api.github.com/users/aawc/repos","events_url":"https://api.github.com/users/aawc/events{/privacy}","received_events_url":"https://api.github.com/users/aawc/received_events","type":"User","site_admin":false},"body":"Unfortunately, at the moment the unrar SDK does not provide an API for providing the contents of the file as an input. I can check with the maintainer if they'd be willing to support that in the future.","created_at":"2017-11-13T18:38:08Z","updated_at":"2017-11-13T18:38:08Z","html_url":"https://github.com/google/oss-fuzz/pull/951#discussion_r150626956","pull_request_url":"https://api.github.com/repos/google/oss-fuzz/pulls/951","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/google/oss-fuzz/pulls/comments/150626956"},"html":{"href":"https://github.com/google/oss-fuzz/pull/951#discussion_r150626956"},"pull_request":{"href":"https://api.github.com/repos/google/oss-fuzz/pulls/951"}},"in_reply_to_id":150399120},"pull_request":{"url":"https://api.github.com/repos/google/oss-fuzz/pulls/951","id":150645306,"html_url":"https://github.com/google/oss-fuzz/pull/951","diff_url":"https://github.com/google/oss-fuzz/pull/951.diff","patch_url":"https://github.com/google/oss-fuzz/pull/951.patch","issue_url":"https://api.github.com/repos/google/oss-fuzz/issues/951","number":951,"state":"open","locked":false,"title":"Setup simple fuzzing for unrar.","user":{"login":"aawc","id":423205,"avatar_url":"https://avatars1.githubusercontent.com/u/423205?v=4","gravatar_id":"","url":"https://api.github.com/users/aawc","html_url":"https://github.com/aawc","followers_url":"https://api.github.com/users/aawc/followers","following_url":"https://api.github.com/users/aawc/following{/other_user}","gists_url":"https://api.github.com/users/aawc/gists{/gist_id}","starred_url":"https://api.github.com/users/aawc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aawc/subscriptions","organizations_url":"https://api.github.com/users/aawc/orgs","repos_url":"https://api.github.com/users/aawc/repos","events_url":"https://api.github.com/users/aawc/events{/privacy}","received_events_url":"https://api.github.com/users/aawc/received_events","type":"User","site_admin":false},"body":"Get the shared library to build for unrar. No fuzzing yet.\r\n\r\nEdit (2017-11-09): Has simple fuzzing now.\r\n\r\nFollowed steps at:\r\nhttps://github.com/google/oss-fuzz/blob/master/docs/new_project_guide.md#overview","created_at":"2017-11-03T23:02:07Z","updated_at":"2017-11-13T18:38:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30344a25ed29e29e9e3e8878125f32f500b64fb2","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/oss-fuzz/pulls/951/commits","review_comments_url":"https://api.github.com/repos/google/oss-fuzz/pulls/951/comments","review_comment_url":"https://api.github.com/repos/google/oss-fuzz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/oss-fuzz/issues/951/comments","statuses_url":"https://api.github.com/repos/google/oss-fuzz/statuses/aadd68a7abb75cb35689481a1d7f982794796dfb","head":{"label":"aawc:unrar_build_lib","ref":"unrar_build_lib","sha":"aadd68a7abb75cb35689481a1d7f982794796dfb","user":{"login":"aawc","id":423205,"avatar_url":"https://avatars1.githubusercontent.com/u/423205?v=4","gravatar_id":"","url":"https://api.github.com/users/aawc","html_url":"https://github.com/aawc","followers_url":"https://api.github.com/users/aawc/followers","following_url":"https://api.github.com/users/aawc/following{/other_user}","gists_url":"https://api.github.com/users/aawc/gists{/gist_id}","starred_url":"https://api.github.com/users/aawc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aawc/subscriptions","organizations_url":"https://api.github.com/users/aawc/orgs","repos_url":"https://api.github.com/users/aawc/repos","events_url":"https://api.github.com/users/aawc/events{/privacy}","received_events_url":"https://api.github.com/users/aawc/received_events","type":"User","site_admin":false},"repo":{"id":103593347,"name":"oss-fuzz","full_name":"aawc/oss-fuzz","owner":{"login":"aawc","id":423205,"avatar_url":"https://avatars1.githubusercontent.com/u/423205?v=4","gravatar_id":"","url":"https://api.github.com/users/aawc","html_url":"https://github.com/aawc","followers_url":"https://api.github.com/users/aawc/followers","following_url":"https://api.github.com/users/aawc/following{/other_user}","gists_url":"https://api.github.com/users/aawc/gists{/gist_id}","starred_url":"https://api.github.com/users/aawc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aawc/subscriptions","organizations_url":"https://api.github.com/users/aawc/orgs","repos_url":"https://api.github.com/users/aawc/repos","events_url":"https://api.github.com/users/aawc/events{/privacy}","received_events_url":"https://api.github.com/users/aawc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aawc/oss-fuzz","description":"OSS-Fuzz - continuous fuzzing of open source software","fork":true,"url":"https://api.github.com/repos/aawc/oss-fuzz","forks_url":"https://api.github.com/repos/aawc/oss-fuzz/forks","keys_url":"https://api.github.com/repos/aawc/oss-fuzz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aawc/oss-fuzz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aawc/oss-fuzz/teams","hooks_url":"https://api.github.com/repos/aawc/oss-fuzz/hooks","issue_events_url":"https://api.github.com/repos/aawc/oss-fuzz/issues/events{/number}","events_url":"https://api.github.com/repos/aawc/oss-fuzz/events","assignees_url":"https://api.github.com/repos/aawc/oss-fuzz/assignees{/user}","branches_url":"https://api.github.com/repos/aawc/oss-fuzz/branches{/branch}","tags_url":"https://api.github.com/repos/aawc/oss-fuzz/tags","blobs_url":"https://api.github.com/repos/aawc/oss-fuzz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aawc/oss-fuzz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aawc/oss-fuzz/git/refs{/sha}","trees_url":"https://api.github.com/repos/aawc/oss-fuzz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aawc/oss-fuzz/statuses/{sha}","languages_url":"https://api.github.com/repos/aawc/oss-fuzz/languages","stargazers_url":"https://api.github.com/repos/aawc/oss-fuzz/stargazers","contributors_url":"https://api.github.com/repos/aawc/oss-fuzz/contributors","subscribers_url":"https://api.github.com/repos/aawc/oss-fuzz/subscribers","subscription_url":"https://api.github.com/repos/aawc/oss-fuzz/subscription","commits_url":"https://api.github.com/repos/aawc/oss-fuzz/commits{/sha}","git_commits_url":"https://api.github.com/repos/aawc/oss-fuzz/git/commits{/sha}","comments_url":"https://api.github.com/repos/aawc/oss-fuzz/comments{/number}","issue_comment_url":"https://api.github.com/repos/aawc/oss-fuzz/issues/comments{/number}","contents_url":"https://api.github.com/repos/aawc/oss-fuzz/contents/{+path}","compare_url":"https://api.github.com/repos/aawc/oss-fuzz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aawc/oss-fuzz/merges","archive_url":"https://api.github.com/repos/aawc/oss-fuzz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aawc/oss-fuzz/downloads","issues_url":"https://api.github.com/repos/aawc/oss-fuzz/issues{/number}","pulls_url":"https://api.github.com/repos/aawc/oss-fuzz/pulls{/number}","milestones_url":"https://api.github.com/repos/aawc/oss-fuzz/milestones{/number}","notifications_url":"https://api.github.com/repos/aawc/oss-fuzz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aawc/oss-fuzz/labels{/name}","releases_url":"https://api.github.com/repos/aawc/oss-fuzz/releases{/id}","deployments_url":"https://api.github.com/repos/aawc/oss-fuzz/deployments","created_at":"2017-09-14T23:57:04Z","updated_at":"2017-09-14T23:57:06Z","pushed_at":"2017-11-10T19:14:26Z","git_url":"git://github.com/aawc/oss-fuzz.git","ssh_url":"git@github.com:aawc/oss-fuzz.git","clone_url":"https://github.com/aawc/oss-fuzz.git","svn_url":"https://github.com/aawc/oss-fuzz","homepage":"","size":7248,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"f3bc593d6996a8762ea8bf8ff0d28b2c27cee97f","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":63809205,"name":"oss-fuzz","full_name":"google/oss-fuzz","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/oss-fuzz","description":"OSS-Fuzz - continuous fuzzing of open source software","fork":false,"url":"https://api.github.com/repos/google/oss-fuzz","forks_url":"https://api.github.com/repos/google/oss-fuzz/forks","keys_url":"https://api.github.com/repos/google/oss-fuzz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/oss-fuzz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/oss-fuzz/teams","hooks_url":"https://api.github.com/repos/google/oss-fuzz/hooks","issue_events_url":"https://api.github.com/repos/google/oss-fuzz/issues/events{/number}","events_url":"https://api.github.com/repos/google/oss-fuzz/events","assignees_url":"https://api.github.com/repos/google/oss-fuzz/assignees{/user}","branches_url":"https://api.github.com/repos/google/oss-fuzz/branches{/branch}","tags_url":"https://api.github.com/repos/google/oss-fuzz/tags","blobs_url":"https://api.github.com/repos/google/oss-fuzz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/oss-fuzz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/oss-fuzz/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/oss-fuzz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/oss-fuzz/statuses/{sha}","languages_url":"https://api.github.com/repos/google/oss-fuzz/languages","stargazers_url":"https://api.github.com/repos/google/oss-fuzz/stargazers","contributors_url":"https://api.github.com/repos/google/oss-fuzz/contributors","subscribers_url":"https://api.github.com/repos/google/oss-fuzz/subscribers","subscription_url":"https://api.github.com/repos/google/oss-fuzz/subscription","commits_url":"https://api.github.com/repos/google/oss-fuzz/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/oss-fuzz/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/oss-fuzz/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/oss-fuzz/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/oss-fuzz/contents/{+path}","compare_url":"https://api.github.com/repos/google/oss-fuzz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/oss-fuzz/merges","archive_url":"https://api.github.com/repos/google/oss-fuzz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/oss-fuzz/downloads","issues_url":"https://api.github.com/repos/google/oss-fuzz/issues{/number}","pulls_url":"https://api.github.com/repos/google/oss-fuzz/pulls{/number}","milestones_url":"https://api.github.com/repos/google/oss-fuzz/milestones{/number}","notifications_url":"https://api.github.com/repos/google/oss-fuzz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/oss-fuzz/labels{/name}","releases_url":"https://api.github.com/repos/google/oss-fuzz/releases{/id}","deployments_url":"https://api.github.com/repos/google/oss-fuzz/deployments","created_at":"2016-07-20T19:39:50Z","updated_at":"2017-11-13T08:29:12Z","pushed_at":"2017-11-13T15:48:43Z","git_url":"git://github.com/google/oss-fuzz.git","ssh_url":"git@github.com:google/oss-fuzz.git","clone_url":"https://github.com/google/oss-fuzz.git","svn_url":"https://github.com/google/oss-fuzz","homepage":"","size":7273,"stargazers_count":2188,"watchers_count":2188,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":353,"mirror_url":null,"archived":false,"open_issues_count":96,"forks":353,"open_issues":96,"watchers":2188,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/oss-fuzz/pulls/951"},"html":{"href":"https://github.com/google/oss-fuzz/pull/951"},"issue":{"href":"https://api.github.com/repos/google/oss-fuzz/issues/951"},"comments":{"href":"https://api.github.com/repos/google/oss-fuzz/issues/951/comments"},"review_comments":{"href":"https://api.github.com/repos/google/oss-fuzz/pulls/951/comments"},"review_comment":{"href":"https://api.github.com/repos/google/oss-fuzz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/oss-fuzz/pulls/951/commits"},"statuses":{"href":"https://api.github.com/repos/google/oss-fuzz/statuses/aadd68a7abb75cb35689481a1d7f982794796dfb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"aawc"}}