{"action":"created","issue":{"url":"https://api.github.com/repos/pnp-software/cordetfw/issues/19","repository_url":"https://api.github.com/repos/pnp-software/cordetfw","labels_url":"https://api.github.com/repos/pnp-software/cordetfw/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/pnp-software/cordetfw/issues/19/comments","events_url":"https://api.github.com/repos/pnp-software/cordetfw/issues/19/events","html_url":"https://github.com/pnp-software/cordetfw/issues/19","id":184719508,"number":19,"title":"Wrong Type in Call to malloc","user":{"login":"pasetti","id":15838404,"avatar_url":"https://avatars.githubusercontent.com/u/15838404?v=3","gravatar_id":"","url":"https://api.github.com/users/pasetti","html_url":"https://github.com/pasetti","followers_url":"https://api.github.com/users/pasetti/followers","following_url":"https://api.github.com/users/pasetti/following{/other_user}","gists_url":"https://api.github.com/users/pasetti/gists{/gist_id}","starred_url":"https://api.github.com/users/pasetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasetti/subscriptions","organizations_url":"https://api.github.com/users/pasetti/orgs","repos_url":"https://api.github.com/users/pasetti/repos","events_url":"https://api.github.com/users/pasetti/events{/privacy}","received_events_url":"https://api.github.com/users/pasetti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pasetti","id":15838404,"avatar_url":"https://avatars.githubusercontent.com/u/15838404?v=3","gravatar_id":"","url":"https://api.github.com/users/pasetti","html_url":"https://github.com/pasetti","followers_url":"https://api.github.com/users/pasetti/followers","following_url":"https://api.github.com/users/pasetti/following{/other_user}","gists_url":"https://api.github.com/users/pasetti/gists{/gist_id}","starred_url":"https://api.github.com/users/pasetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasetti/subscriptions","organizations_url":"https://api.github.com/users/pasetti/orgs","repos_url":"https://api.github.com/users/pasetti/repos","events_url":"https://api.github.com/users/pasetti/events{/privacy}","received_events_url":"https://api.github.com/users/pasetti/received_events","type":"User","site_admin":false},"assignees":[{"login":"pasetti","id":15838404,"avatar_url":"https://avatars.githubusercontent.com/u/15838404?v=3","gravatar_id":"","url":"https://api.github.com/users/pasetti","html_url":"https://github.com/pasetti","followers_url":"https://api.github.com/users/pasetti/followers","following_url":"https://api.github.com/users/pasetti/following{/other_user}","gists_url":"https://api.github.com/users/pasetti/gists{/gist_id}","starred_url":"https://api.github.com/users/pasetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasetti/subscriptions","organizations_url":"https://api.github.com/users/pasetti/orgs","repos_url":"https://api.github.com/users/pasetti/repos","events_url":"https://api.github.com/users/pasetti/events{/privacy}","received_events_url":"https://api.github.com/users/pasetti/received_events","type":"User","site_admin":false},{"login":"oppm","id":16349571,"avatar_url":"https://avatars.githubusercontent.com/u/16349571?v=3","gravatar_id":"","url":"https://api.github.com/users/oppm","html_url":"https://github.com/oppm","followers_url":"https://api.github.com/users/oppm/followers","following_url":"https://api.github.com/users/oppm/following{/other_user}","gists_url":"https://api.github.com/users/oppm/gists{/gist_id}","starred_url":"https://api.github.com/users/oppm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppm/subscriptions","organizations_url":"https://api.github.com/users/oppm/orgs","repos_url":"https://api.github.com/users/oppm/repos","events_url":"https://api.github.com/users/oppm/events{/privacy}","received_events_url":"https://api.github.com/users/oppm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-10-23T22:11:50Z","updated_at":"2016-10-31T15:13:30Z","closed_at":"2016-10-31T15:13:29Z","body":"This point was first brought up by ESA when they did their static code analysis of the CORDET Framework code (see e-mail from Roland dated 11 October 2016).\n\nIn function `CrFwPcktQueueInit` of module `CrFwPcktQueue`, the following statement is made:\n\n`pcktQueue->pckt = malloc(size*sizeof(CrFwPckt_t*));`\n\nThis statement might be incorrect and the correct statement is probably:\n\n`pcktQueue->pckt = malloc(size*sizeof(CrFwPckt_t));`\n\nI assign the ticket to Marcel so that he may check this matter and update the code if needed.\n"},"comment":{"url":"https://api.github.com/repos/pnp-software/cordetfw/issues/comments/257321030","html_url":"https://github.com/pnp-software/cordetfw/issues/19#issuecomment-257321030","issue_url":"https://api.github.com/repos/pnp-software/cordetfw/issues/19","id":257321030,"user":{"login":"pasetti","id":15838404,"avatar_url":"https://avatars.githubusercontent.com/u/15838404?v=3","gravatar_id":"","url":"https://api.github.com/users/pasetti","html_url":"https://github.com/pasetti","followers_url":"https://api.github.com/users/pasetti/followers","following_url":"https://api.github.com/users/pasetti/following{/other_user}","gists_url":"https://api.github.com/users/pasetti/gists{/gist_id}","starred_url":"https://api.github.com/users/pasetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasetti/subscriptions","organizations_url":"https://api.github.com/users/pasetti/orgs","repos_url":"https://api.github.com/users/pasetti/repos","events_url":"https://api.github.com/users/pasetti/events{/privacy}","received_events_url":"https://api.github.com/users/pasetti/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T15:13:29Z","updated_at":"2016-10-31T15:13:29Z","body":"The problem has been fixed and the fix has been pulled into the master branch."}}
{"actor":{"display_login":"pasetti"}}