{"action":"created","issue":{"url":"https://api.github.com/repos/google/flatbuffers/issues/4658","repository_url":"https://api.github.com/repos/google/flatbuffers","labels_url":"https://api.github.com/repos/google/flatbuffers/issues/4658/labels{/name}","comments_url":"https://api.github.com/repos/google/flatbuffers/issues/4658/comments","events_url":"https://api.github.com/repos/google/flatbuffers/issues/4658/events","html_url":"https://github.com/google/flatbuffers/issues/4658","id":302871841,"number":4658,"title":"FromtUTF8(const char **in) fails to pass ubSan","user":{"login":"ianXian","id":3846072,"avatar_url":"https://avatars1.githubusercontent.com/u/3846072?v=4","gravatar_id":"","url":"https://api.github.com/users/ianXian","html_url":"https://github.com/ianXian","followers_url":"https://api.github.com/users/ianXian/followers","following_url":"https://api.github.com/users/ianXian/following{/other_user}","gists_url":"https://api.github.com/users/ianXian/gists{/gist_id}","starred_url":"https://api.github.com/users/ianXian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianXian/subscriptions","organizations_url":"https://api.github.com/users/ianXian/orgs","repos_url":"https://api.github.com/users/ianXian/repos","events_url":"https://api.github.com/users/ianXian/events{/privacy}","received_events_url":"https://api.github.com/users/ianXian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-06T21:25:52Z","updated_at":"2018-03-08T19:44:42Z","closed_at":null,"author_association":"NONE","body":"https://github.com/google/flatbuffers/blob/4bc6de9a881ea2f31f8f5ee302f78e1b101fa68f/include/flatbuffers/util.h#L324\r\n\r\nHello,\r\n\r\n**in can be negative value, which is still a valid UTF8 byte. Using const char **in causes this line fails with ubsan on.\r\n\r\ncan switch all const char to const unsigned char?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/flatbuffers/issues/comments/371601458","html_url":"https://github.com/google/flatbuffers/issues/4658#issuecomment-371601458","issue_url":"https://api.github.com/repos/google/flatbuffers/issues/4658","id":371601458,"user":{"login":"aardappel","id":4663648,"avatar_url":"https://avatars2.githubusercontent.com/u/4663648?v=4","gravatar_id":"","url":"https://api.github.com/users/aardappel","html_url":"https://github.com/aardappel","followers_url":"https://api.github.com/users/aardappel/followers","following_url":"https://api.github.com/users/aardappel/following{/other_user}","gists_url":"https://api.github.com/users/aardappel/gists{/gist_id}","starred_url":"https://api.github.com/users/aardappel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aardappel/subscriptions","organizations_url":"https://api.github.com/users/aardappel/orgs","repos_url":"https://api.github.com/users/aardappel/repos","events_url":"https://api.github.com/users/aardappel/events{/privacy}","received_events_url":"https://api.github.com/users/aardappel/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T19:44:42Z","updated_at":"2018-03-08T19:44:42Z","author_association":"COLLABORATOR","body":"I actually suggested to keep the signature the same, and fixing it locally with an extra local. Can you make a PR?"}}
{"actor":{"display_login":"aardappel"}}