{"action":"opened","issue":{"url":"https://api.github.com/repos/schwehr/generic-sensor-format/issues/58","labels_url":"https://api.github.com/repos/schwehr/generic-sensor-format/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/schwehr/generic-sensor-format/issues/58/comments","events_url":"https://api.github.com/repos/schwehr/generic-sensor-format/issues/58/events","html_url":"https://github.com/schwehr/generic-sensor-format/issues/58","id":95327396,"number":58,"title":"CID 113062 (#1 of 1): Buffer not null terminated (BUFFER_SIZE)","user":{"login":"schwehr","id":389869,"avatar_url":"https://avatars.githubusercontent.com/u/389869?v=3","gravatar_id":"","url":"https://api.github.com/users/schwehr","html_url":"https://github.com/schwehr","followers_url":"https://api.github.com/users/schwehr/followers","following_url":"https://api.github.com/users/schwehr/following{/other_user}","gists_url":"https://api.github.com/users/schwehr/gists{/gist_id}","starred_url":"https://api.github.com/users/schwehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schwehr/subscriptions","organizations_url":"https://api.github.com/users/schwehr/orgs","repos_url":"https://api.github.com/users/schwehr/repos","events_url":"https://api.github.com/users/schwehr/events{/privacy}","received_events_url":"https://api.github.com/users/schwehr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-16T01:40:43Z","updated_at":"2015-07-16T01:40:43Z","closed_at":null,"body":"Pretty much the exact same as #56 \r\n\r\ngsf_indx.c: Line 486\r\n```\r\nstrncpy(index_header.version, GSF_INDEX_VERSION, GSF_INDEX_VERSION_SIZE);\r\n```\r\nCoverity's complaint:\r\n```\r\nbuffer_size: Calling strncpy with a source string whose length (16 chars) is greater than or equal to the size argument (16) will fail to null-terminate index_header.version.\r\n```"}}