{"action":"created","comment":{"url":"https://api.github.com/repos/systemd/systemd/pulls/comments/189569108","pull_request_review_id":121771807,"id":189569108,"diff_hunk":"@@ -46,8 +47,13 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {\n         r = sd_journal_open_files(&j, (const char**) STRV_MAKE(name), 0);\n         assert_se(r >= 0);\n \n-        r = show_journal(stdout, j, OUTPUT_VERBOSE, 0, 0, -1, 0, NULL);\n-        assert_se(r >= 0);\n+        for (mode = 0; mode < _OUTPUT_MODE_MAX; mode++) {\n+                r = show_journal(stdout, j, mode, 0, 0, -1, 0, NULL);\n+                assert_se(r >= 0);\n+\n+                r = sd_journal_seek_head(j);\n+                assert_se(r >= 0);","path":"src/fuzz/fuzz-journal-remote.c","position":55,"original_position":19,"commit_id":"d56e03dd77e26946fc7f197e12a84a4550b7895d","original_commit_id":"b70d302db232e9565dec2e1cbd86ba3778de3515","user":{"login":"keszybz","id":349618,"avatar_url":"https://avatars1.githubusercontent.com/u/349618?v=4","gravatar_id":"","url":"https://api.github.com/users/keszybz","html_url":"https://github.com/keszybz","followers_url":"https://api.github.com/users/keszybz/followers","following_url":"https://api.github.com/users/keszybz/following{/other_user}","gists_url":"https://api.github.com/users/keszybz/gists{/gist_id}","starred_url":"https://api.github.com/users/keszybz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keszybz/subscriptions","organizations_url":"https://api.github.com/users/keszybz/orgs","repos_url":"https://api.github.com/users/keszybz/repos","events_url":"https://api.github.com/users/keszybz/events{/privacy}","received_events_url":"https://api.github.com/users/keszybz/received_events","type":"User","site_admin":false},"body":"Half of this fuzzer is the journal output code, and writing the stuff out is an integral part of it. Disabling output would be possible, but it would reduce the coverage a lot.","created_at":"2018-05-21T11:59:38Z","updated_at":"2018-05-21T11:59:38Z","html_url":"https://github.com/systemd/systemd/pull/9014#discussion_r189569108","pull_request_url":"https://api.github.com/repos/systemd/systemd/pulls/9014","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments/189569108"},"html":{"href":"https://github.com/systemd/systemd/pull/9014#discussion_r189569108"},"pull_request":{"href":"https://api.github.com/repos/systemd/systemd/pulls/9014"}},"in_reply_to_id":189472596},"pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/9014","id":188684467,"html_url":"https://github.com/systemd/systemd/pull/9014","diff_url":"https://github.com/systemd/systemd/pull/9014.diff","patch_url":"https://github.com/systemd/systemd/pull/9014.patch","issue_url":"https://api.github.com/repos/systemd/systemd/issues/9014","number":9014,"state":"open","locked":false,"title":"A fuzzer for journal-remote","user":{"login":"keszybz","id":349618,"avatar_url":"https://avatars1.githubusercontent.com/u/349618?v=4","gravatar_id":"","url":"https://api.github.com/users/keszybz","html_url":"https://github.com/keszybz","followers_url":"https://api.github.com/users/keszybz/followers","following_url":"https://api.github.com/users/keszybz/following{/other_user}","gists_url":"https://api.github.com/users/keszybz/gists{/gist_id}","starred_url":"https://api.github.com/users/keszybz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keszybz/subscriptions","organizations_url":"https://api.github.com/users/keszybz/orgs","repos_url":"https://api.github.com/users/keszybz/repos","events_url":"https://api.github.com/users/keszybz/events{/privacy}","received_events_url":"https://api.github.com/users/keszybz/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-17T10:02:36Z","updated_at":"2018-05-21T11:59:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7363ed5a753db6052c00f535ec4ce9bbfb9d723","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":219549857,"url":"https://api.github.com/repos/systemd/systemd/labels/journal","name":"journal","color":"d4c5f9","default":false},{"id":293641682,"url":"https://api.github.com/repos/systemd/systemd/labels/journal-remote","name":"journal-remote","color":"d4c5f9","default":false},{"id":224437857,"url":"https://api.github.com/repos/systemd/systemd/labels/tests","name":"tests","color":"c7def8","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/systemd/systemd/pulls/9014/commits","review_comments_url":"https://api.github.com/repos/systemd/systemd/pulls/9014/comments","review_comment_url":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/9014/comments","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/d56e03dd77e26946fc7f197e12a84a4550b7895d","head":{"label":"keszybz:fuzz-journal-remote","ref":"fuzz-journal-remote","sha":"d56e03dd77e26946fc7f197e12a84a4550b7895d","user":{"login":"keszybz","id":349618,"avatar_url":"https://avatars1.githubusercontent.com/u/349618?v=4","gravatar_id":"","url":"https://api.github.com/users/keszybz","html_url":"https://github.com/keszybz","followers_url":"https://api.github.com/users/keszybz/followers","following_url":"https://api.github.com/users/keszybz/following{/other_user}","gists_url":"https://api.github.com/users/keszybz/gists{/gist_id}","starred_url":"https://api.github.com/users/keszybz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keszybz/subscriptions","organizations_url":"https://api.github.com/users/keszybz/orgs","repos_url":"https://api.github.com/users/keszybz/repos","events_url":"https://api.github.com/users/keszybz/events{/privacy}","received_events_url":"https://api.github.com/users/keszybz/received_events","type":"User","site_admin":false},"repo":{"id":37000824,"name":"systemd","full_name":"keszybz/systemd","owner":{"login":"keszybz","id":349618,"avatar_url":"https://avatars1.githubusercontent.com/u/349618?v=4","gravatar_id":"","url":"https://api.github.com/users/keszybz","html_url":"https://github.com/keszybz","followers_url":"https://api.github.com/users/keszybz/followers","following_url":"https://api.github.com/users/keszybz/following{/other_user}","gists_url":"https://api.github.com/users/keszybz/gists{/gist_id}","starred_url":"https://api.github.com/users/keszybz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keszybz/subscriptions","organizations_url":"https://api.github.com/users/keszybz/orgs","repos_url":"https://api.github.com/users/keszybz/repos","events_url":"https://api.github.com/users/keszybz/events{/privacy}","received_events_url":"https://api.github.com/users/keszybz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keszybz/systemd","description":"systemd upstream","fork":true,"url":"https://api.github.com/repos/keszybz/systemd","forks_url":"https://api.github.com/repos/keszybz/systemd/forks","keys_url":"https://api.github.com/repos/keszybz/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keszybz/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keszybz/systemd/teams","hooks_url":"https://api.github.com/repos/keszybz/systemd/hooks","issue_events_url":"https://api.github.com/repos/keszybz/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/keszybz/systemd/events","assignees_url":"https://api.github.com/repos/keszybz/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/keszybz/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/keszybz/systemd/tags","blobs_url":"https://api.github.com/repos/keszybz/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keszybz/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keszybz/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/keszybz/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keszybz/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/keszybz/systemd/languages","stargazers_url":"https://api.github.com/repos/keszybz/systemd/stargazers","contributors_url":"https://api.github.com/repos/keszybz/systemd/contributors","subscribers_url":"https://api.github.com/repos/keszybz/systemd/subscribers","subscription_url":"https://api.github.com/repos/keszybz/systemd/subscription","commits_url":"https://api.github.com/repos/keszybz/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/keszybz/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/keszybz/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/keszybz/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/keszybz/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/keszybz/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keszybz/systemd/merges","archive_url":"https://api.github.com/repos/keszybz/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keszybz/systemd/downloads","issues_url":"https://api.github.com/repos/keszybz/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/keszybz/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/keszybz/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/keszybz/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keszybz/systemd/labels{/name}","releases_url":"https://api.github.com/repos/keszybz/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/keszybz/systemd/deployments","created_at":"2015-06-07T01:43:08Z","updated_at":"2018-05-10T07:15:26Z","pushed_at":"2018-05-20T21:08:29Z","git_url":"git://github.com/keszybz/systemd.git","ssh_url":"git@github.com:keszybz/systemd.git","clone_url":"https://github.com/keszybz/systemd.git","svn_url":"https://github.com/keszybz/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":89874,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"systemd:master","ref":"master","sha":"51b66c7a8a8afc8241373e864514d5ac7b87f169","user":{"login":"systemd","id":1918868,"avatar_url":"https://avatars0.githubusercontent.com/u/1918868?v=4","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"repo":{"id":32873313,"name":"systemd","full_name":"systemd/systemd","owner":{"login":"systemd","id":1918868,"avatar_url":"https://avatars0.githubusercontent.com/u/1918868?v=4","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemd/systemd","description":"⚙️ 🐧 systemd System and Service Manager ","fork":false,"url":"https://api.github.com/repos/systemd/systemd","forks_url":"https://api.github.com/repos/systemd/systemd/forks","keys_url":"https://api.github.com/repos/systemd/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemd/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemd/systemd/teams","hooks_url":"https://api.github.com/repos/systemd/systemd/hooks","issue_events_url":"https://api.github.com/repos/systemd/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/systemd/systemd/events","assignees_url":"https://api.github.com/repos/systemd/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/systemd/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/systemd/systemd/tags","blobs_url":"https://api.github.com/repos/systemd/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemd/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemd/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemd/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/systemd/systemd/languages","stargazers_url":"https://api.github.com/repos/systemd/systemd/stargazers","contributors_url":"https://api.github.com/repos/systemd/systemd/contributors","subscribers_url":"https://api.github.com/repos/systemd/systemd/subscribers","subscription_url":"https://api.github.com/repos/systemd/systemd/subscription","commits_url":"https://api.github.com/repos/systemd/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemd/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemd/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemd/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemd/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/systemd/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemd/systemd/merges","archive_url":"https://api.github.com/repos/systemd/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemd/systemd/downloads","issues_url":"https://api.github.com/repos/systemd/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/systemd/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/systemd/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/systemd/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemd/systemd/labels{/name}","releases_url":"https://api.github.com/repos/systemd/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/systemd/systemd/deployments","created_at":"2015-03-25T15:27:27Z","updated_at":"2018-05-21T11:59:26Z","pushed_at":"2018-05-21T11:36:22Z","git_url":"git://github.com/systemd/systemd.git","ssh_url":"git@github.com:systemd/systemd.git","clone_url":"https://github.com/systemd/systemd.git","svn_url":"https://github.com/systemd/systemd","homepage":"https://www.freedesktop.org/wiki/Software/systemd/","size":89771,"stargazers_count":3163,"watchers_count":3163,"language":"C","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1238,"mirror_url":null,"archived":false,"open_issues_count":936,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":1238,"open_issues":936,"watchers":3163,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/9014"},"html":{"href":"https://github.com/systemd/systemd/pull/9014"},"issue":{"href":"https://api.github.com/repos/systemd/systemd/issues/9014"},"comments":{"href":"https://api.github.com/repos/systemd/systemd/issues/9014/comments"},"review_comments":{"href":"https://api.github.com/repos/systemd/systemd/pulls/9014/comments"},"review_comment":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemd/systemd/pulls/9014/commits"},"statuses":{"href":"https://api.github.com/repos/systemd/systemd/statuses/d56e03dd77e26946fc7f197e12a84a4550b7895d"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"keszybz"}}