{"action":"created","issue":{"url":"https://api.github.com/repos/Cyan4973/lz4/issues/70","labels_url":"https://api.github.com/repos/Cyan4973/lz4/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/Cyan4973/lz4/issues/70/comments","events_url":"https://api.github.com/repos/Cyan4973/lz4/issues/70/events","html_url":"https://github.com/Cyan4973/lz4/issues/70","id":65715702,"number":70,"title":"Sign extension issue in LZ4F_readLE64","user":{"login":"eberge","id":6423939,"avatar_url":"https://avatars.githubusercontent.com/u/6423939?v=3","gravatar_id":"","url":"https://api.github.com/users/eberge","html_url":"https://github.com/eberge","followers_url":"https://api.github.com/users/eberge/followers","following_url":"https://api.github.com/users/eberge/following{/other_user}","gists_url":"https://api.github.com/users/eberge/gists{/gist_id}","starred_url":"https://api.github.com/users/eberge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eberge/subscriptions","organizations_url":"https://api.github.com/users/eberge/orgs","repos_url":"https://api.github.com/users/eberge/repos","events_url":"https://api.github.com/users/eberge/events{/privacy}","received_events_url":"https://api.github.com/users/eberge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-01T15:47:14Z","updated_at":"2015-04-12T10:24:05Z","closed_at":null,"body":"Our static analyzer (Coverity) is complaining about the following line in lz4frame.c:\r\n\r\n     value64 += (srcPtr[3]<<24);\r\n\r\nsaying that the compiler will promote the rhs to a signed 32-bit integer with potential sign extension.  Should probably cast this with something like:\r\n\r\n     value64 += ((U64)srcPtr[3]<<24);\r\n"},"comment":{"url":"https://api.github.com/repos/Cyan4973/lz4/issues/comments/92030834","html_url":"https://github.com/Cyan4973/lz4/issues/70#issuecomment-92030834","issue_url":"https://api.github.com/repos/Cyan4973/lz4/issues/70","id":92030834,"user":{"login":"Cyan4973","id":750081,"avatar_url":"https://avatars.githubusercontent.com/u/750081?v=3","gravatar_id":"","url":"https://api.github.com/users/Cyan4973","html_url":"https://github.com/Cyan4973","followers_url":"https://api.github.com/users/Cyan4973/followers","following_url":"https://api.github.com/users/Cyan4973/following{/other_user}","gists_url":"https://api.github.com/users/Cyan4973/gists{/gist_id}","starred_url":"https://api.github.com/users/Cyan4973/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cyan4973/subscriptions","organizations_url":"https://api.github.com/users/Cyan4973/orgs","repos_url":"https://api.github.com/users/Cyan4973/repos","events_url":"https://api.github.com/users/Cyan4973/events{/privacy}","received_events_url":"https://api.github.com/users/Cyan4973/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T10:24:05Z","updated_at":"2015-04-12T10:24:05Z","body":"There's a new \"coverity_scan\" branch, at https://github.com/Cyan4973/lz4/tree/coverity_scan.\r\nIt automates the process of sending new sources to coverity for static analysis.\r\nI believe it covers all the points opened in this issue."}}