{"action":"created","issue":{"url":"https://api.github.com/repos/pilight/pilight/issues/413","repository_url":"https://api.github.com/repos/pilight/pilight","labels_url":"https://api.github.com/repos/pilight/pilight/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/pilight/pilight/issues/413/comments","events_url":"https://api.github.com/repos/pilight/pilight/issues/413/events","html_url":"https://github.com/pilight/pilight/pull/413","id":300332509,"node_id":"MDExOlB1bGxSZXF1ZXN0MTcxNDQ0NTgx","number":413,"title":"fixed segfault occuring with long device strings","user":{"login":"NiekD","id":10514104,"node_id":"MDQ6VXNlcjEwNTE0MTA0","avatar_url":"https://avatars2.githubusercontent.com/u/10514104?v=4","gravatar_id":"","url":"https://api.github.com/users/NiekD","html_url":"https://github.com/NiekD","followers_url":"https://api.github.com/users/NiekD/followers","following_url":"https://api.github.com/users/NiekD/following{/other_user}","gists_url":"https://api.github.com/users/NiekD/gists{/gist_id}","starred_url":"https://api.github.com/users/NiekD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiekD/subscriptions","organizations_url":"https://api.github.com/users/NiekD/orgs","repos_url":"https://api.github.com/users/NiekD/repos","events_url":"https://api.github.com/users/NiekD/events{/privacy}","received_events_url":"https://api.github.com/users/NiekD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-26T17:44:22Z","updated_at":"2018-12-17T20:12:10Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pilight/pilight/pulls/413","html_url":"https://github.com/pilight/pilight/pull/413","diff_url":"https://github.com/pilight/pilight/pull/413.diff","patch_url":"https://github.com/pilight/pilight/pull/413.patch"},"body":"In devices.c a fixed size buffer was being used to hold device strings. If a device string was too long to fit in the buffer a segfault could occur.\r\n\r\nThe buffer for device strings has now been changed from fixed- to dynamic size.\r\nThe buffer is initialized with 255 bytes like before, but more space is now allocated in case this is not sufficient."},"comment":{"url":"https://api.github.com/repos/pilight/pilight/issues/comments/447982464","html_url":"https://github.com/pilight/pilight/pull/413#issuecomment-447982464","issue_url":"https://api.github.com/repos/pilight/pilight/issues/413","id":447982464,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Nzk4MjQ2NA==","user":{"login":"NiekD","id":10514104,"node_id":"MDQ6VXNlcjEwNTE0MTA0","avatar_url":"https://avatars2.githubusercontent.com/u/10514104?v=4","gravatar_id":"","url":"https://api.github.com/users/NiekD","html_url":"https://github.com/NiekD","followers_url":"https://api.github.com/users/NiekD/followers","following_url":"https://api.github.com/users/NiekD/following{/other_user}","gists_url":"https://api.github.com/users/NiekD/gists{/gist_id}","starred_url":"https://api.github.com/users/NiekD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiekD/subscriptions","organizations_url":"https://api.github.com/users/NiekD/orgs","repos_url":"https://api.github.com/users/NiekD/repos","events_url":"https://api.github.com/users/NiekD/events{/privacy}","received_events_url":"https://api.github.com/users/NiekD/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T20:12:10Z","updated_at":"2018-12-17T20:12:10Z","author_association":"CONTRIBUTOR","body":"As far as I know this has been an issue from the beginning, but was not discovered before, because long label text was useless before the introduction of wrapping long label text. "}}
{"actor":{"display_login":"NiekD"}}