{"action":"created","comment":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/comments/64459286","id":64459286,"diff_hunk":"@@ -900,6 +910,8 @@ sol_coap_send_packet_with_reply(struct sol_coap_server *server, struct sol_coap_\n     }\n \n     sol_coap_header_get_id(pkt, &reply->id);\n+    reply->reentrant.in_use = false;\n+    reply->reentrant.delete_me = false;","path":"src/lib/comms/sol-coap.c","position":54,"original_position":54,"commit_id":"2caf1e97887a86b1f71f990c8029c079eaa109af","original_commit_id":"2caf1e97887a86b1f71f990c8029c079eaa109af","user":{"login":"barbieri","id":1838,"avatar_url":"https://avatars.githubusercontent.com/u/1838?v=3","gravatar_id":"","url":"https://api.github.com/users/barbieri","html_url":"https://github.com/barbieri","followers_url":"https://api.github.com/users/barbieri/followers","following_url":"https://api.github.com/users/barbieri/following{/other_user}","gists_url":"https://api.github.com/users/barbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/barbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbieri/subscriptions","organizations_url":"https://api.github.com/users/barbieri/orgs","repos_url":"https://api.github.com/users/barbieri/repos","events_url":"https://api.github.com/users/barbieri/events{/privacy}","received_events_url":"https://api.github.com/users/barbieri/received_events","type":"User","site_admin":false},"body":"the code uses `calloc()`, so 0 is guaranteed.","created_at":"2016-05-24T19:34:26Z","updated_at":"2016-05-24T19:34:26Z","html_url":"https://github.com/solettaproject/soletta/pull/2089#discussion_r64459286","pull_request_url":"https://api.github.com/repos/solettaproject/soletta/pulls/2089","_links":{"self":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/comments/64459286"},"html":{"href":"https://github.com/solettaproject/soletta/pull/2089#discussion_r64459286"},"pull_request":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/2089"}}},"pull_request":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/2089","id":71215936,"html_url":"https://github.com/solettaproject/soletta/pull/2089","diff_url":"https://github.com/solettaproject/soletta/pull/2089.diff","patch_url":"https://github.com/solettaproject/soletta/pull/2089.patch","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/2089","number":2089,"state":"open","locked":false,"title":"OIC client and coap: Make contexts re-entrant to prevent double free","user":{"login":"gabrielschulhof","id":976081,"avatar_url":"https://avatars.githubusercontent.com/u/976081?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielschulhof","html_url":"https://github.com/gabrielschulhof","followers_url":"https://api.github.com/users/gabrielschulhof/followers","following_url":"https://api.github.com/users/gabrielschulhof/following{/other_user}","gists_url":"https://api.github.com/users/gabrielschulhof/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielschulhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielschulhof/subscriptions","organizations_url":"https://api.github.com/users/gabrielschulhof/orgs","repos_url":"https://api.github.com/users/gabrielschulhof/repos","events_url":"https://api.github.com/users/gabrielschulhof/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielschulhof/received_events","type":"User","site_admin":false},"body":"Fixes gh-2054\r\n\r\nSigned-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>\r\n\r\nChanges: Addressed review comments\r\nReplaces #2080","created_at":"2016-05-24T13:04:42Z","updated_at":"2016-05-24T19:34:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"675415eda3dc1798c1e51b7e71433e178a28a07f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/solettaproject/soletta/pulls/2089/commits","review_comments_url":"https://api.github.com/repos/solettaproject/soletta/pulls/2089/comments","review_comment_url":"https://api.github.com/repos/solettaproject/soletta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/2089/comments","statuses_url":"https://api.github.com/repos/solettaproject/soletta/statuses/2caf1e97887a86b1f71f990c8029c079eaa109af","head":{"label":"gabrielschulhof:2054-oic-context-juggling-v4","ref":"2054-oic-context-juggling-v4","sha":"2caf1e97887a86b1f71f990c8029c079eaa109af","user":{"login":"gabrielschulhof","id":976081,"avatar_url":"https://avatars.githubusercontent.com/u/976081?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielschulhof","html_url":"https://github.com/gabrielschulhof","followers_url":"https://api.github.com/users/gabrielschulhof/followers","following_url":"https://api.github.com/users/gabrielschulhof/following{/other_user}","gists_url":"https://api.github.com/users/gabrielschulhof/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielschulhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielschulhof/subscriptions","organizations_url":"https://api.github.com/users/gabrielschulhof/orgs","repos_url":"https://api.github.com/users/gabrielschulhof/repos","events_url":"https://api.github.com/users/gabrielschulhof/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielschulhof/received_events","type":"User","site_admin":false},"repo":{"id":48420692,"name":"soletta","full_name":"gabrielschulhof/soletta","owner":{"login":"gabrielschulhof","id":976081,"avatar_url":"https://avatars.githubusercontent.com/u/976081?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielschulhof","html_url":"https://github.com/gabrielschulhof","followers_url":"https://api.github.com/users/gabrielschulhof/followers","following_url":"https://api.github.com/users/gabrielschulhof/following{/other_user}","gists_url":"https://api.github.com/users/gabrielschulhof/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielschulhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielschulhof/subscriptions","organizations_url":"https://api.github.com/users/gabrielschulhof/orgs","repos_url":"https://api.github.com/users/gabrielschulhof/repos","events_url":"https://api.github.com/users/gabrielschulhof/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielschulhof/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gabrielschulhof/soletta","description":"Soletta Project is a framework for making IoT devices.  With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.  ","fork":true,"url":"https://api.github.com/repos/gabrielschulhof/soletta","forks_url":"https://api.github.com/repos/gabrielschulhof/soletta/forks","keys_url":"https://api.github.com/repos/gabrielschulhof/soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabrielschulhof/soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabrielschulhof/soletta/teams","hooks_url":"https://api.github.com/repos/gabrielschulhof/soletta/hooks","issue_events_url":"https://api.github.com/repos/gabrielschulhof/soletta/issues/events{/number}","events_url":"https://api.github.com/repos/gabrielschulhof/soletta/events","assignees_url":"https://api.github.com/repos/gabrielschulhof/soletta/assignees{/user}","branches_url":"https://api.github.com/repos/gabrielschulhof/soletta/branches{/branch}","tags_url":"https://api.github.com/repos/gabrielschulhof/soletta/tags","blobs_url":"https://api.github.com/repos/gabrielschulhof/soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabrielschulhof/soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabrielschulhof/soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabrielschulhof/soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabrielschulhof/soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/gabrielschulhof/soletta/languages","stargazers_url":"https://api.github.com/repos/gabrielschulhof/soletta/stargazers","contributors_url":"https://api.github.com/repos/gabrielschulhof/soletta/contributors","subscribers_url":"https://api.github.com/repos/gabrielschulhof/soletta/subscribers","subscription_url":"https://api.github.com/repos/gabrielschulhof/soletta/subscription","commits_url":"https://api.github.com/repos/gabrielschulhof/soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabrielschulhof/soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabrielschulhof/soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabrielschulhof/soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabrielschulhof/soletta/contents/{+path}","compare_url":"https://api.github.com/repos/gabrielschulhof/soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabrielschulhof/soletta/merges","archive_url":"https://api.github.com/repos/gabrielschulhof/soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabrielschulhof/soletta/downloads","issues_url":"https://api.github.com/repos/gabrielschulhof/soletta/issues{/number}","pulls_url":"https://api.github.com/repos/gabrielschulhof/soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/gabrielschulhof/soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/gabrielschulhof/soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabrielschulhof/soletta/labels{/name}","releases_url":"https://api.github.com/repos/gabrielschulhof/soletta/releases{/id}","deployments_url":"https://api.github.com/repos/gabrielschulhof/soletta/deployments","created_at":"2015-12-22T08:43:55Z","updated_at":"2016-01-14T22:22:13Z","pushed_at":"2016-05-24T19:32:25Z","git_url":"git://github.com/gabrielschulhof/soletta.git","ssh_url":"git@github.com:gabrielschulhof/soletta.git","clone_url":"https://github.com/gabrielschulhof/soletta.git","svn_url":"https://github.com/gabrielschulhof/soletta","homepage":"http://solettaproject.org","size":20024,"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":"solettaproject:master","ref":"master","sha":"7e3fc1e53624dc012b81a337da291b0cce182dd9","user":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":37087063,"name":"soletta","full_name":"solettaproject/soletta","owner":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solettaproject/soletta","description":"Soletta Project is a framework for making IoT devices.  With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.  ","fork":false,"url":"https://api.github.com/repos/solettaproject/soletta","forks_url":"https://api.github.com/repos/solettaproject/soletta/forks","keys_url":"https://api.github.com/repos/solettaproject/soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solettaproject/soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solettaproject/soletta/teams","hooks_url":"https://api.github.com/repos/solettaproject/soletta/hooks","issue_events_url":"https://api.github.com/repos/solettaproject/soletta/issues/events{/number}","events_url":"https://api.github.com/repos/solettaproject/soletta/events","assignees_url":"https://api.github.com/repos/solettaproject/soletta/assignees{/user}","branches_url":"https://api.github.com/repos/solettaproject/soletta/branches{/branch}","tags_url":"https://api.github.com/repos/solettaproject/soletta/tags","blobs_url":"https://api.github.com/repos/solettaproject/soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solettaproject/soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solettaproject/soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/solettaproject/soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solettaproject/soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/solettaproject/soletta/languages","stargazers_url":"https://api.github.com/repos/solettaproject/soletta/stargazers","contributors_url":"https://api.github.com/repos/solettaproject/soletta/contributors","subscribers_url":"https://api.github.com/repos/solettaproject/soletta/subscribers","subscription_url":"https://api.github.com/repos/solettaproject/soletta/subscription","commits_url":"https://api.github.com/repos/solettaproject/soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/solettaproject/soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/solettaproject/soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/solettaproject/soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/solettaproject/soletta/contents/{+path}","compare_url":"https://api.github.com/repos/solettaproject/soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solettaproject/soletta/merges","archive_url":"https://api.github.com/repos/solettaproject/soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solettaproject/soletta/downloads","issues_url":"https://api.github.com/repos/solettaproject/soletta/issues{/number}","pulls_url":"https://api.github.com/repos/solettaproject/soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/solettaproject/soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/solettaproject/soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solettaproject/soletta/labels{/name}","releases_url":"https://api.github.com/repos/solettaproject/soletta/releases{/id}","deployments_url":"https://api.github.com/repos/solettaproject/soletta/deployments","created_at":"2015-06-08T19:13:18Z","updated_at":"2016-05-23T08:51:42Z","pushed_at":"2016-05-24T19:31:18Z","git_url":"git://github.com/solettaproject/soletta.git","ssh_url":"git@github.com:solettaproject/soletta.git","clone_url":"https://github.com/solettaproject/soletta.git","svn_url":"https://github.com/solettaproject/soletta","homepage":"http://solettaproject.org","size":28505,"stargazers_count":97,"watchers_count":97,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":177,"forks":83,"open_issues":177,"watchers":97,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/2089"},"html":{"href":"https://github.com/solettaproject/soletta/pull/2089"},"issue":{"href":"https://api.github.com/repos/solettaproject/soletta/issues/2089"},"comments":{"href":"https://api.github.com/repos/solettaproject/soletta/issues/2089/comments"},"review_comments":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/2089/comments"},"review_comment":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/2089/commits"},"statuses":{"href":"https://api.github.com/repos/solettaproject/soletta/statuses/2caf1e97887a86b1f71f990c8029c079eaa109af"}}}}
{"actor":{"display_login":"barbieri"}}