{"action":"opened","number":185,"pull_request":{"url":"https://api.github.com/repos/pocl/pocl/pulls/185","id":34105228,"html_url":"https://github.com/pocl/pocl/pull/185","diff_url":"https://github.com/pocl/pocl/pull/185.diff","patch_url":"https://github.com/pocl/pocl/pull/185.patch","issue_url":"https://api.github.com/repos/pocl/pocl/issues/185","number":185,"state":"open","locked":false,"title":"Memory access violation fixes","user":{"login":"Oblomov","id":1464,"avatar_url":"https://avatars.githubusercontent.com/u/1464?v=3","gravatar_id":"","url":"https://api.github.com/users/Oblomov","html_url":"https://github.com/Oblomov","followers_url":"https://api.github.com/users/Oblomov/followers","following_url":"https://api.github.com/users/Oblomov/following{/other_user}","gists_url":"https://api.github.com/users/Oblomov/gists{/gist_id}","starred_url":"https://api.github.com/users/Oblomov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oblomov/subscriptions","organizations_url":"https://api.github.com/users/Oblomov/orgs","repos_url":"https://api.github.com/users/Oblomov/repos","events_url":"https://api.github.com/users/Oblomov/events{/privacy}","received_events_url":"https://api.github.com/users/Oblomov/received_events","type":"User","site_admin":false},"body":"This is a second round of fixes that are determined by more-or-less static analysis (where 'static' refers to my own eyes this time). I got interested in this round of fixes when I noticed a double-free when I happened to use an invalid event in a waitlist, so I went through all the clEnqueue* that seemed to be affected by similar issues, wrote tests triggering the relevant errors (mostly segmentation faults) and fixed those that I found.","created_at":"2015-04-25T11:55:10Z","updated_at":"2015-04-25T11:55:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pocl/pocl/pulls/185/commits","review_comments_url":"https://api.github.com/repos/pocl/pocl/pulls/185/comments","review_comment_url":"https://api.github.com/repos/pocl/pocl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pocl/pocl/issues/185/comments","statuses_url":"https://api.github.com/repos/pocl/pocl/statuses/81733746ea105bdb94b4d31ba574948d55096bb0","head":{"label":"Oblomov:static-fixes","ref":"static-fixes","sha":"81733746ea105bdb94b4d31ba574948d55096bb0","user":{"login":"Oblomov","id":1464,"avatar_url":"https://avatars.githubusercontent.com/u/1464?v=3","gravatar_id":"","url":"https://api.github.com/users/Oblomov","html_url":"https://github.com/Oblomov","followers_url":"https://api.github.com/users/Oblomov/followers","following_url":"https://api.github.com/users/Oblomov/following{/other_user}","gists_url":"https://api.github.com/users/Oblomov/gists{/gist_id}","starred_url":"https://api.github.com/users/Oblomov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oblomov/subscriptions","organizations_url":"https://api.github.com/users/Oblomov/orgs","repos_url":"https://api.github.com/users/Oblomov/repos","events_url":"https://api.github.com/users/Oblomov/events{/privacy}","received_events_url":"https://api.github.com/users/Oblomov/received_events","type":"User","site_admin":false},"repo":{"id":33171599,"name":"pocl","full_name":"Oblomov/pocl","owner":{"login":"Oblomov","id":1464,"avatar_url":"https://avatars.githubusercontent.com/u/1464?v=3","gravatar_id":"","url":"https://api.github.com/users/Oblomov","html_url":"https://github.com/Oblomov","followers_url":"https://api.github.com/users/Oblomov/followers","following_url":"https://api.github.com/users/Oblomov/following{/other_user}","gists_url":"https://api.github.com/users/Oblomov/gists{/gist_id}","starred_url":"https://api.github.com/users/Oblomov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oblomov/subscriptions","organizations_url":"https://api.github.com/users/Oblomov/orgs","repos_url":"https://api.github.com/users/Oblomov/repos","events_url":"https://api.github.com/users/Oblomov/events{/privacy}","received_events_url":"https://api.github.com/users/Oblomov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Oblomov/pocl","description":"pocl - Portable Computing Language","fork":true,"url":"https://api.github.com/repos/Oblomov/pocl","forks_url":"https://api.github.com/repos/Oblomov/pocl/forks","keys_url":"https://api.github.com/repos/Oblomov/pocl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Oblomov/pocl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Oblomov/pocl/teams","hooks_url":"https://api.github.com/repos/Oblomov/pocl/hooks","issue_events_url":"https://api.github.com/repos/Oblomov/pocl/issues/events{/number}","events_url":"https://api.github.com/repos/Oblomov/pocl/events","assignees_url":"https://api.github.com/repos/Oblomov/pocl/assignees{/user}","branches_url":"https://api.github.com/repos/Oblomov/pocl/branches{/branch}","tags_url":"https://api.github.com/repos/Oblomov/pocl/tags","blobs_url":"https://api.github.com/repos/Oblomov/pocl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Oblomov/pocl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Oblomov/pocl/git/refs{/sha}","trees_url":"https://api.github.com/repos/Oblomov/pocl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Oblomov/pocl/statuses/{sha}","languages_url":"https://api.github.com/repos/Oblomov/pocl/languages","stargazers_url":"https://api.github.com/repos/Oblomov/pocl/stargazers","contributors_url":"https://api.github.com/repos/Oblomov/pocl/contributors","subscribers_url":"https://api.github.com/repos/Oblomov/pocl/subscribers","subscription_url":"https://api.github.com/repos/Oblomov/pocl/subscription","commits_url":"https://api.github.com/repos/Oblomov/pocl/commits{/sha}","git_commits_url":"https://api.github.com/repos/Oblomov/pocl/git/commits{/sha}","comments_url":"https://api.github.com/repos/Oblomov/pocl/comments{/number}","issue_comment_url":"https://api.github.com/repos/Oblomov/pocl/issues/comments{/number}","contents_url":"https://api.github.com/repos/Oblomov/pocl/contents/{+path}","compare_url":"https://api.github.com/repos/Oblomov/pocl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Oblomov/pocl/merges","archive_url":"https://api.github.com/repos/Oblomov/pocl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Oblomov/pocl/downloads","issues_url":"https://api.github.com/repos/Oblomov/pocl/issues{/number}","pulls_url":"https://api.github.com/repos/Oblomov/pocl/pulls{/number}","milestones_url":"https://api.github.com/repos/Oblomov/pocl/milestones{/number}","notifications_url":"https://api.github.com/repos/Oblomov/pocl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Oblomov/pocl/labels{/name}","releases_url":"https://api.github.com/repos/Oblomov/pocl/releases{/id}","created_at":"2015-03-31T07:36:07Z","updated_at":"2015-04-25T11:52:17Z","pushed_at":"2015-04-25T11:52:17Z","git_url":"git://github.com/Oblomov/pocl.git","ssh_url":"git@github.com:Oblomov/pocl.git","clone_url":"https://github.com/Oblomov/pocl.git","svn_url":"https://github.com/Oblomov/pocl","homepage":"http://portablecl.org","size":43343,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pocl:master","ref":"master","sha":"9aabc6e52c9625c93bec4e720407361e47318966","user":{"login":"pocl","id":5285403,"avatar_url":"https://avatars.githubusercontent.com/u/5285403?v=3","gravatar_id":"","url":"https://api.github.com/users/pocl","html_url":"https://github.com/pocl","followers_url":"https://api.github.com/users/pocl/followers","following_url":"https://api.github.com/users/pocl/following{/other_user}","gists_url":"https://api.github.com/users/pocl/gists{/gist_id}","starred_url":"https://api.github.com/users/pocl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocl/subscriptions","organizations_url":"https://api.github.com/users/pocl/orgs","repos_url":"https://api.github.com/users/pocl/repos","events_url":"https://api.github.com/users/pocl/events{/privacy}","received_events_url":"https://api.github.com/users/pocl/received_events","type":"Organization","site_admin":false},"repo":{"id":12292999,"name":"pocl","full_name":"pocl/pocl","owner":{"login":"pocl","id":5285403,"avatar_url":"https://avatars.githubusercontent.com/u/5285403?v=3","gravatar_id":"","url":"https://api.github.com/users/pocl","html_url":"https://github.com/pocl","followers_url":"https://api.github.com/users/pocl/followers","following_url":"https://api.github.com/users/pocl/following{/other_user}","gists_url":"https://api.github.com/users/pocl/gists{/gist_id}","starred_url":"https://api.github.com/users/pocl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocl/subscriptions","organizations_url":"https://api.github.com/users/pocl/orgs","repos_url":"https://api.github.com/users/pocl/repos","events_url":"https://api.github.com/users/pocl/events{/privacy}","received_events_url":"https://api.github.com/users/pocl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pocl/pocl","description":"pocl - Portable Computing Language","fork":false,"url":"https://api.github.com/repos/pocl/pocl","forks_url":"https://api.github.com/repos/pocl/pocl/forks","keys_url":"https://api.github.com/repos/pocl/pocl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocl/pocl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocl/pocl/teams","hooks_url":"https://api.github.com/repos/pocl/pocl/hooks","issue_events_url":"https://api.github.com/repos/pocl/pocl/issues/events{/number}","events_url":"https://api.github.com/repos/pocl/pocl/events","assignees_url":"https://api.github.com/repos/pocl/pocl/assignees{/user}","branches_url":"https://api.github.com/repos/pocl/pocl/branches{/branch}","tags_url":"https://api.github.com/repos/pocl/pocl/tags","blobs_url":"https://api.github.com/repos/pocl/pocl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocl/pocl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocl/pocl/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocl/pocl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocl/pocl/statuses/{sha}","languages_url":"https://api.github.com/repos/pocl/pocl/languages","stargazers_url":"https://api.github.com/repos/pocl/pocl/stargazers","contributors_url":"https://api.github.com/repos/pocl/pocl/contributors","subscribers_url":"https://api.github.com/repos/pocl/pocl/subscribers","subscription_url":"https://api.github.com/repos/pocl/pocl/subscription","commits_url":"https://api.github.com/repos/pocl/pocl/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocl/pocl/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocl/pocl/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocl/pocl/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocl/pocl/contents/{+path}","compare_url":"https://api.github.com/repos/pocl/pocl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocl/pocl/merges","archive_url":"https://api.github.com/repos/pocl/pocl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocl/pocl/downloads","issues_url":"https://api.github.com/repos/pocl/pocl/issues{/number}","pulls_url":"https://api.github.com/repos/pocl/pocl/pulls{/number}","milestones_url":"https://api.github.com/repos/pocl/pocl/milestones{/number}","notifications_url":"https://api.github.com/repos/pocl/pocl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocl/pocl/labels{/name}","releases_url":"https://api.github.com/repos/pocl/pocl/releases{/id}","created_at":"2013-08-22T09:26:12Z","updated_at":"2015-04-23T13:18:05Z","pushed_at":"2015-04-21T10:20:23Z","git_url":"git://github.com/pocl/pocl.git","ssh_url":"git@github.com:pocl/pocl.git","clone_url":"https://github.com/pocl/pocl.git","svn_url":"https://github.com/pocl/pocl","homepage":"http://portablecl.org","size":47035,"stargazers_count":83,"watchers_count":83,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":15,"forks":44,"open_issues":15,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pocl/pocl/pulls/185"},"html":{"href":"https://github.com/pocl/pocl/pull/185"},"issue":{"href":"https://api.github.com/repos/pocl/pocl/issues/185"},"comments":{"href":"https://api.github.com/repos/pocl/pocl/issues/185/comments"},"review_comments":{"href":"https://api.github.com/repos/pocl/pocl/pulls/185/comments"},"review_comment":{"href":"https://api.github.com/repos/pocl/pocl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pocl/pocl/pulls/185/commits"},"statuses":{"href":"https://api.github.com/repos/pocl/pocl/statuses/81733746ea105bdb94b4d31ba574948d55096bb0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":295,"deletions":82,"changed_files":16}}