{"action":"closed","number":71,"pull_request":{"url":"https://api.github.com/repos/reddit/snudown/pulls/71","id":33197669,"html_url":"https://github.com/reddit/snudown/pull/71","diff_url":"https://github.com/reddit/snudown/pull/71.diff","patch_url":"https://github.com/reddit/snudown/pull/71.patch","issue_url":"https://api.github.com/repos/reddit/snudown/issues/71","number":71,"state":"closed","locked":false,"title":"Add tools for fuzzing snudown","user":{"login":"JordanMilne","id":278982,"avatar_url":"https://avatars.githubusercontent.com/u/278982?v=3","gravatar_id":"","url":"https://api.github.com/users/JordanMilne","html_url":"https://github.com/JordanMilne","followers_url":"https://api.github.com/users/JordanMilne/followers","following_url":"https://api.github.com/users/JordanMilne/following{/other_user}","gists_url":"https://api.github.com/users/JordanMilne/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanMilne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanMilne/subscriptions","organizations_url":"https://api.github.com/users/JordanMilne/orgs","repos_url":"https://api.github.com/users/JordanMilne/repos","events_url":"https://api.github.com/users/JordanMilne/events{/privacy}","received_events_url":"https://api.github.com/users/JordanMilne/received_events","type":"User","site_admin":false},"body":":eyeglasses: @spladug \r\n\r\nOnly the last commit matters, the rest are from https://github.com/reddit/snudown/pull/69.\r\n\r\nAutomagically takes our testcases, plugs them into American Fuzzy\r\nLop, then makes sure that they output valid HTML.\r\n\r\nI had a few issues getting the `Makefile` to work the way I wanted (I didn't want to pollute `src/` and `html/` with AFL-instrumented object files) so I ended up using CMake for the fuzzer. I'm not that concerned about it since it's a dev-only dependency, but def not ideal.\r\n\r\nThe other thing is my fork of `gumbo-parser` that gets included as a submodule. I had to hack out a few overly-general `ParserErrors` and add in an interface for the private, unstable error API so we could tell if we care about the error. Where should that live? ","created_at":"2015-04-13T20:00:12Z","updated_at":"2015-04-16T19:53:48Z","closed_at":"2015-04-16T19:53:48Z","merged_at":null,"merge_commit_sha":"41c306820c3a70d4bdcbc289d2ca454f07bd5ba0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reddit/snudown/pulls/71/commits","review_comments_url":"https://api.github.com/repos/reddit/snudown/pulls/71/comments","review_comment_url":"https://api.github.com/repos/reddit/snudown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reddit/snudown/issues/71/comments","statuses_url":"https://api.github.com/repos/reddit/snudown/statuses/7edd23c30c53a4fa48ad8140dbc4cbfb4c34362b","head":{"label":"JordanMilne:afl_fuzzing_new","ref":"afl_fuzzing_new","sha":"7edd23c30c53a4fa48ad8140dbc4cbfb4c34362b","user":{"login":"JordanMilne","id":278982,"avatar_url":"https://avatars.githubusercontent.com/u/278982?v=3","gravatar_id":"","url":"https://api.github.com/users/JordanMilne","html_url":"https://github.com/JordanMilne","followers_url":"https://api.github.com/users/JordanMilne/followers","following_url":"https://api.github.com/users/JordanMilne/following{/other_user}","gists_url":"https://api.github.com/users/JordanMilne/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanMilne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanMilne/subscriptions","organizations_url":"https://api.github.com/users/JordanMilne/orgs","repos_url":"https://api.github.com/users/JordanMilne/repos","events_url":"https://api.github.com/users/JordanMilne/events{/privacy}","received_events_url":"https://api.github.com/users/JordanMilne/received_events","type":"User","site_admin":false},"repo":{"id":24435031,"name":"snudown","full_name":"JordanMilne/snudown","owner":{"login":"JordanMilne","id":278982,"avatar_url":"https://avatars.githubusercontent.com/u/278982?v=3","gravatar_id":"","url":"https://api.github.com/users/JordanMilne","html_url":"https://github.com/JordanMilne","followers_url":"https://api.github.com/users/JordanMilne/followers","following_url":"https://api.github.com/users/JordanMilne/following{/other_user}","gists_url":"https://api.github.com/users/JordanMilne/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanMilne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanMilne/subscriptions","organizations_url":"https://api.github.com/users/JordanMilne/orgs","repos_url":"https://api.github.com/users/JordanMilne/repos","events_url":"https://api.github.com/users/JordanMilne/events{/privacy}","received_events_url":"https://api.github.com/users/JordanMilne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JordanMilne/snudown","description":"reddit's markdown renderer. based on sundown.","fork":true,"url":"https://api.github.com/repos/JordanMilne/snudown","forks_url":"https://api.github.com/repos/JordanMilne/snudown/forks","keys_url":"https://api.github.com/repos/JordanMilne/snudown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JordanMilne/snudown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JordanMilne/snudown/teams","hooks_url":"https://api.github.com/repos/JordanMilne/snudown/hooks","issue_events_url":"https://api.github.com/repos/JordanMilne/snudown/issues/events{/number}","events_url":"https://api.github.com/repos/JordanMilne/snudown/events","assignees_url":"https://api.github.com/repos/JordanMilne/snudown/assignees{/user}","branches_url":"https://api.github.com/repos/JordanMilne/snudown/branches{/branch}","tags_url":"https://api.github.com/repos/JordanMilne/snudown/tags","blobs_url":"https://api.github.com/repos/JordanMilne/snudown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JordanMilne/snudown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JordanMilne/snudown/git/refs{/sha}","trees_url":"https://api.github.com/repos/JordanMilne/snudown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JordanMilne/snudown/statuses/{sha}","languages_url":"https://api.github.com/repos/JordanMilne/snudown/languages","stargazers_url":"https://api.github.com/repos/JordanMilne/snudown/stargazers","contributors_url":"https://api.github.com/repos/JordanMilne/snudown/contributors","subscribers_url":"https://api.github.com/repos/JordanMilne/snudown/subscribers","subscription_url":"https://api.github.com/repos/JordanMilne/snudown/subscription","commits_url":"https://api.github.com/repos/JordanMilne/snudown/commits{/sha}","git_commits_url":"https://api.github.com/repos/JordanMilne/snudown/git/commits{/sha}","comments_url":"https://api.github.com/repos/JordanMilne/snudown/comments{/number}","issue_comment_url":"https://api.github.com/repos/JordanMilne/snudown/issues/comments{/number}","contents_url":"https://api.github.com/repos/JordanMilne/snudown/contents/{+path}","compare_url":"https://api.github.com/repos/JordanMilne/snudown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JordanMilne/snudown/merges","archive_url":"https://api.github.com/repos/JordanMilne/snudown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JordanMilne/snudown/downloads","issues_url":"https://api.github.com/repos/JordanMilne/snudown/issues{/number}","pulls_url":"https://api.github.com/repos/JordanMilne/snudown/pulls{/number}","milestones_url":"https://api.github.com/repos/JordanMilne/snudown/milestones{/number}","notifications_url":"https://api.github.com/repos/JordanMilne/snudown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JordanMilne/snudown/labels{/name}","releases_url":"https://api.github.com/repos/JordanMilne/snudown/releases{/id}","created_at":"2014-09-24T22:31:14Z","updated_at":"2014-09-12T16:45:41Z","pushed_at":"2015-04-15T22:13:09Z","git_url":"git://github.com/JordanMilne/snudown.git","ssh_url":"git@github.com:JordanMilne/snudown.git","clone_url":"https://github.com/JordanMilne/snudown.git","svn_url":"https://github.com/JordanMilne/snudown","homepage":"","size":558,"stargazers_count":0,"watchers_count":0,"language":null,"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":"reddit:master","ref":"master","sha":"0ffc96fda79a6efc2e6d523044f7200fb3219d54","user":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?v=3","gravatar_id":"","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"repo":{"id":2577990,"name":"snudown","full_name":"reddit/snudown","owner":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?v=3","gravatar_id":"","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reddit/snudown","description":"reddit's markdown renderer. based on sundown.","fork":false,"url":"https://api.github.com/repos/reddit/snudown","forks_url":"https://api.github.com/repos/reddit/snudown/forks","keys_url":"https://api.github.com/repos/reddit/snudown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reddit/snudown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reddit/snudown/teams","hooks_url":"https://api.github.com/repos/reddit/snudown/hooks","issue_events_url":"https://api.github.com/repos/reddit/snudown/issues/events{/number}","events_url":"https://api.github.com/repos/reddit/snudown/events","assignees_url":"https://api.github.com/repos/reddit/snudown/assignees{/user}","branches_url":"https://api.github.com/repos/reddit/snudown/branches{/branch}","tags_url":"https://api.github.com/repos/reddit/snudown/tags","blobs_url":"https://api.github.com/repos/reddit/snudown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reddit/snudown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reddit/snudown/git/refs{/sha}","trees_url":"https://api.github.com/repos/reddit/snudown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reddit/snudown/statuses/{sha}","languages_url":"https://api.github.com/repos/reddit/snudown/languages","stargazers_url":"https://api.github.com/repos/reddit/snudown/stargazers","contributors_url":"https://api.github.com/repos/reddit/snudown/contributors","subscribers_url":"https://api.github.com/repos/reddit/snudown/subscribers","subscription_url":"https://api.github.com/repos/reddit/snudown/subscription","commits_url":"https://api.github.com/repos/reddit/snudown/commits{/sha}","git_commits_url":"https://api.github.com/repos/reddit/snudown/git/commits{/sha}","comments_url":"https://api.github.com/repos/reddit/snudown/comments{/number}","issue_comment_url":"https://api.github.com/repos/reddit/snudown/issues/comments{/number}","contents_url":"https://api.github.com/repos/reddit/snudown/contents/{+path}","compare_url":"https://api.github.com/repos/reddit/snudown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reddit/snudown/merges","archive_url":"https://api.github.com/repos/reddit/snudown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reddit/snudown/downloads","issues_url":"https://api.github.com/repos/reddit/snudown/issues{/number}","pulls_url":"https://api.github.com/repos/reddit/snudown/pulls{/number}","milestones_url":"https://api.github.com/repos/reddit/snudown/milestones{/number}","notifications_url":"https://api.github.com/repos/reddit/snudown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reddit/snudown/labels{/name}","releases_url":"https://api.github.com/repos/reddit/snudown/releases{/id}","created_at":"2011-10-14T18:31:19Z","updated_at":"2015-04-16T19:51:18Z","pushed_at":"2015-04-16T19:51:18Z","git_url":"git://github.com/reddit/snudown.git","ssh_url":"git@github.com:reddit/snudown.git","clone_url":"https://github.com/reddit/snudown.git","svn_url":"https://github.com/reddit/snudown","homepage":"","size":880,"stargazers_count":59,"watchers_count":59,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":17,"forks":40,"open_issues":17,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reddit/snudown/pulls/71"},"html":{"href":"https://github.com/reddit/snudown/pull/71"},"issue":{"href":"https://api.github.com/repos/reddit/snudown/issues/71"},"comments":{"href":"https://api.github.com/repos/reddit/snudown/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/reddit/snudown/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/reddit/snudown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reddit/snudown/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/reddit/snudown/statuses/7edd23c30c53a4fa48ad8140dbc4cbfb4c34362b"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":6,"additions":493,"deletions":56,"changed_files":15}}