{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/10817","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/10817/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/10817/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/10817/events","html_url":"https://github.com/systemd/systemd/pull/10817","id":381786620,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNjc1ODYx","number":10817,"title":"Add a fuzzer for process_audit_string","user":{"login":"evverx","id":10195800,"node_id":"MDQ6VXNlcjEwMTk1ODAw","avatar_url":"https://avatars1.githubusercontent.com/u/10195800?v=4","gravatar_id":"","url":"https://api.github.com/users/evverx","html_url":"https://github.com/evverx","followers_url":"https://api.github.com/users/evverx/followers","following_url":"https://api.github.com/users/evverx/following{/other_user}","gists_url":"https://api.github.com/users/evverx/gists{/gist_id}","starred_url":"https://api.github.com/users/evverx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evverx/subscriptions","organizations_url":"https://api.github.com/users/evverx/orgs","repos_url":"https://api.github.com/users/evverx/repos","events_url":"https://api.github.com/users/evverx/events{/privacy}","received_events_url":"https://api.github.com/users/evverx/received_events","type":"User","site_admin":false},"labels":[{"id":724487318,"node_id":"MDU6TGFiZWw3MjQ0ODczMTg=","url":"https://api.github.com/repos/systemd/systemd/labels/dont-merge%20%F0%9F%92%A3","name":"dont-merge 💣","color":"b60205","default":false},{"id":224437857,"node_id":"MDU6TGFiZWwyMjQ0Mzc4NTc=","url":"https://api.github.com/repos/systemd/systemd/labels/tests","name":"tests","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T22:42:55Z","updated_at":"2018-11-16T23:03:57Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/10817","html_url":"https://github.com/systemd/systemd/pull/10817","diff_url":"https://github.com/systemd/systemd/pull/10817.diff","patch_url":"https://github.com/systemd/systemd/pull/10817.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/439555536","html_url":"https://github.com/systemd/systemd/pull/10817#issuecomment-439555536","issue_url":"https://api.github.com/repos/systemd/systemd/issues/10817","id":439555536,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTU1NTUzNg==","user":{"login":"evverx","id":10195800,"node_id":"MDQ6VXNlcjEwMTk1ODAw","avatar_url":"https://avatars1.githubusercontent.com/u/10195800?v=4","gravatar_id":"","url":"https://api.github.com/users/evverx","html_url":"https://github.com/evverx","followers_url":"https://api.github.com/users/evverx/followers","following_url":"https://api.github.com/users/evverx/following{/other_user}","gists_url":"https://api.github.com/users/evverx/gists{/gist_id}","starred_url":"https://api.github.com/users/evverx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evverx/subscriptions","organizations_url":"https://api.github.com/users/evverx/orgs","repos_url":"https://api.github.com/users/evverx/repos","events_url":"https://api.github.com/users/evverx/events{/privacy}","received_events_url":"https://api.github.com/users/evverx/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T23:03:57Z","updated_at":"2018-11-16T23:03:57Z","author_association":"MEMBER","body":"Apparently, everything on the following list except for `bus-creds.c` and `serialize.c` should be fixed in one way or another:\r\n```sh\r\n$ git grep sscanf | grep '%n'\r\nsrc/core/socket.c:                if (sscanf(value, \"%i %n\", &fd, &skip) < 1 || fd < 0 || !fdset_contains(fds, fd))\r\nsrc/core/socket.c:                if (sscanf(value, \"%i %n\", &fd, &skip) < 1 || fd < 0 || !fdset_contains(fds, fd))\r\nsrc/core/socket.c:                if (sscanf(value, \"%i %n\", &fd, &skip) < 1 || fd < 0 || !fdset_contains(fds, fd))\r\nsrc/core/socket.c:                if (sscanf(value, \"%i %i %n\", &fd, &type, &skip) < 2 || fd < 0 || type < 0 || !fdset_contains(fds, fd))\r\nsrc/core/socket.c:                if (sscanf(value, \"%i %n\", &fd, &skip) < 1 || fd < 0 || !fdset_contains(fds, fd))\r\nsrc/core/socket.c:                if (sscanf(value, \"%i %n\", &fd, &skip) < 1 || fd < 0 || !fdset_contains(fds, fd))\r\nsrc/journal/journald-audit.c:        if (sscanf(p, \"(%\" PRIu64 \".%\" PRIu64 \":%\" PRIu64 \"):%n\",\r\nsrc/libsystemd/sd-bus/bus-creds.c:                                                        if (sscanf(p, \"%lu%n\", &g, &n) != 1)\r\nsrc/shared/serialize.c:        r = sscanf(value, \"%\" PRIu64 \"%\" PRIu64 \"%n\", &a, &b, &pos);\r\n```"}}
{"actor":{"display_login":"evverx"}}