{"action":"created","comment":{"url":"https://api.github.com/repos/kaaproject/kaa/pulls/comments/93804020","pull_request_review_id":14340917,"id":93804020,"diff_hunk":"@@ -59,9 +66,14 @@ int posix_binary_file_read(const char *file_name, char **buffer, size_t *buffer_\n \n int posix_binary_file_store(const char *file_name, const char *buffer, size_t buffer_size)\n {\n-    KAA_RETURN_IF_NIL3(file_name, buffer, buffer_size, -1);\n+    kaa_binary_file_path = KAA_MALLOC(strlen(((struct kaa_client_props_t*)kaa_client_props_get())->working_directory) + strlen(file_name));\n+    if (!kaa_binary_file_path) {","path":"client/client-multi/client-c/src/kaa/platform-impl/posix/file_utils.c","position":36,"original_position":36,"commit_id":"a5a326d599a09447a6bf301a74bd7319bca4b45e","original_commit_id":"a5a326d599a09447a6bf301a74bd7319bca4b45e","user":{"login":"RostakaGmfun","id":5872727,"avatar_url":"https://avatars.githubusercontent.com/u/5872727?v=3","gravatar_id":"","url":"https://api.github.com/users/RostakaGmfun","html_url":"https://github.com/RostakaGmfun","followers_url":"https://api.github.com/users/RostakaGmfun/followers","following_url":"https://api.github.com/users/RostakaGmfun/following{/other_user}","gists_url":"https://api.github.com/users/RostakaGmfun/gists{/gist_id}","starred_url":"https://api.github.com/users/RostakaGmfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RostakaGmfun/subscriptions","organizations_url":"https://api.github.com/users/RostakaGmfun/orgs","repos_url":"https://api.github.com/users/RostakaGmfun/repos","events_url":"https://api.github.com/users/RostakaGmfun/events{/privacy}","received_events_url":"https://api.github.com/users/RostakaGmfun/received_events","type":"User","site_admin":false},"body":"`kaa_binary_file_path == NULL`","created_at":"2016-12-23T21:42:19Z","updated_at":"2016-12-23T21:42:19Z","html_url":"https://github.com/kaaproject/kaa/pull/1398#discussion_r93804020","pull_request_url":"https://api.github.com/repos/kaaproject/kaa/pulls/1398","_links":{"self":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/comments/93804020"},"html":{"href":"https://github.com/kaaproject/kaa/pull/1398#discussion_r93804020"},"pull_request":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/1398"}}},"pull_request":{"url":"https://api.github.com/repos/kaaproject/kaa/pulls/1398","id":99277613,"html_url":"https://github.com/kaaproject/kaa/pull/1398","diff_url":"https://github.com/kaaproject/kaa/pull/1398.diff","patch_url":"https://github.com/kaaproject/kaa/pull/1398.patch","issue_url":"https://api.github.com/repos/kaaproject/kaa/issues/1398","number":1398,"state":"open","locked":false,"title":"KAA-844: added feature to set working directory","user":{"login":"yverzun","id":22870688,"avatar_url":"https://avatars.githubusercontent.com/u/22870688?v=3","gravatar_id":"","url":"https://api.github.com/users/yverzun","html_url":"https://github.com/yverzun","followers_url":"https://api.github.com/users/yverzun/followers","following_url":"https://api.github.com/users/yverzun/following{/other_user}","gists_url":"https://api.github.com/users/yverzun/gists{/gist_id}","starred_url":"https://api.github.com/users/yverzun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yverzun/subscriptions","organizations_url":"https://api.github.com/users/yverzun/orgs","repos_url":"https://api.github.com/users/yverzun/repos","events_url":"https://api.github.com/users/yverzun/events{/privacy}","received_events_url":"https://api.github.com/users/yverzun/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-23T20:05:39Z","updated_at":"2016-12-23T21:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f447826d73a1a6bea02bb0b1ee5d87613c577833","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kaaproject/kaa/pulls/1398/commits","review_comments_url":"https://api.github.com/repos/kaaproject/kaa/pulls/1398/comments","review_comment_url":"https://api.github.com/repos/kaaproject/kaa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaaproject/kaa/issues/1398/comments","statuses_url":"https://api.github.com/repos/kaaproject/kaa/statuses/a5a326d599a09447a6bf301a74bd7319bca4b45e","head":{"label":"yverzun:KAA-1599","ref":"KAA-1599","sha":"a5a326d599a09447a6bf301a74bd7319bca4b45e","user":{"login":"yverzun","id":22870688,"avatar_url":"https://avatars.githubusercontent.com/u/22870688?v=3","gravatar_id":"","url":"https://api.github.com/users/yverzun","html_url":"https://github.com/yverzun","followers_url":"https://api.github.com/users/yverzun/followers","following_url":"https://api.github.com/users/yverzun/following{/other_user}","gists_url":"https://api.github.com/users/yverzun/gists{/gist_id}","starred_url":"https://api.github.com/users/yverzun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yverzun/subscriptions","organizations_url":"https://api.github.com/users/yverzun/orgs","repos_url":"https://api.github.com/users/yverzun/repos","events_url":"https://api.github.com/users/yverzun/events{/privacy}","received_events_url":"https://api.github.com/users/yverzun/received_events","type":"User","site_admin":false},"repo":{"id":73927527,"name":"kaa","full_name":"yverzun/kaa","owner":{"login":"yverzun","id":22870688,"avatar_url":"https://avatars.githubusercontent.com/u/22870688?v=3","gravatar_id":"","url":"https://api.github.com/users/yverzun","html_url":"https://github.com/yverzun","followers_url":"https://api.github.com/users/yverzun/followers","following_url":"https://api.github.com/users/yverzun/following{/other_user}","gists_url":"https://api.github.com/users/yverzun/gists{/gist_id}","starred_url":"https://api.github.com/users/yverzun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yverzun/subscriptions","organizations_url":"https://api.github.com/users/yverzun/orgs","repos_url":"https://api.github.com/users/yverzun/repos","events_url":"https://api.github.com/users/yverzun/events{/privacy}","received_events_url":"https://api.github.com/users/yverzun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yverzun/kaa","description":"Kaa open-source middleware platform for building, managing, and integrating connected products with the Internet of Everything.","fork":true,"url":"https://api.github.com/repos/yverzun/kaa","forks_url":"https://api.github.com/repos/yverzun/kaa/forks","keys_url":"https://api.github.com/repos/yverzun/kaa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yverzun/kaa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yverzun/kaa/teams","hooks_url":"https://api.github.com/repos/yverzun/kaa/hooks","issue_events_url":"https://api.github.com/repos/yverzun/kaa/issues/events{/number}","events_url":"https://api.github.com/repos/yverzun/kaa/events","assignees_url":"https://api.github.com/repos/yverzun/kaa/assignees{/user}","branches_url":"https://api.github.com/repos/yverzun/kaa/branches{/branch}","tags_url":"https://api.github.com/repos/yverzun/kaa/tags","blobs_url":"https://api.github.com/repos/yverzun/kaa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yverzun/kaa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yverzun/kaa/git/refs{/sha}","trees_url":"https://api.github.com/repos/yverzun/kaa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yverzun/kaa/statuses/{sha}","languages_url":"https://api.github.com/repos/yverzun/kaa/languages","stargazers_url":"https://api.github.com/repos/yverzun/kaa/stargazers","contributors_url":"https://api.github.com/repos/yverzun/kaa/contributors","subscribers_url":"https://api.github.com/repos/yverzun/kaa/subscribers","subscription_url":"https://api.github.com/repos/yverzun/kaa/subscription","commits_url":"https://api.github.com/repos/yverzun/kaa/commits{/sha}","git_commits_url":"https://api.github.com/repos/yverzun/kaa/git/commits{/sha}","comments_url":"https://api.github.com/repos/yverzun/kaa/comments{/number}","issue_comment_url":"https://api.github.com/repos/yverzun/kaa/issues/comments{/number}","contents_url":"https://api.github.com/repos/yverzun/kaa/contents/{+path}","compare_url":"https://api.github.com/repos/yverzun/kaa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yverzun/kaa/merges","archive_url":"https://api.github.com/repos/yverzun/kaa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yverzun/kaa/downloads","issues_url":"https://api.github.com/repos/yverzun/kaa/issues{/number}","pulls_url":"https://api.github.com/repos/yverzun/kaa/pulls{/number}","milestones_url":"https://api.github.com/repos/yverzun/kaa/milestones{/number}","notifications_url":"https://api.github.com/repos/yverzun/kaa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yverzun/kaa/labels{/name}","releases_url":"https://api.github.com/repos/yverzun/kaa/releases{/id}","deployments_url":"https://api.github.com/repos/yverzun/kaa/deployments","created_at":"2016-11-16T14:22:11Z","updated_at":"2016-12-08T16:53:30Z","pushed_at":"2016-12-23T21:38:21Z","git_url":"git://github.com/yverzun/kaa.git","ssh_url":"git@github.com:yverzun/kaa.git","clone_url":"https://github.com/yverzun/kaa.git","svn_url":"https://github.com/yverzun/kaa","homepage":"http://www.kaaproject.org","size":179681,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"kaaproject:master","ref":"master","sha":"7bc81f3d44f6e33a98674f128e36afe4b7d627f1","user":{"login":"kaaproject","id":6984613,"avatar_url":"https://avatars.githubusercontent.com/u/6984613?v=3","gravatar_id":"","url":"https://api.github.com/users/kaaproject","html_url":"https://github.com/kaaproject","followers_url":"https://api.github.com/users/kaaproject/followers","following_url":"https://api.github.com/users/kaaproject/following{/other_user}","gists_url":"https://api.github.com/users/kaaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaproject/subscriptions","organizations_url":"https://api.github.com/users/kaaproject/orgs","repos_url":"https://api.github.com/users/kaaproject/repos","events_url":"https://api.github.com/users/kaaproject/events{/privacy}","received_events_url":"https://api.github.com/users/kaaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":17839346,"name":"kaa","full_name":"kaaproject/kaa","owner":{"login":"kaaproject","id":6984613,"avatar_url":"https://avatars.githubusercontent.com/u/6984613?v=3","gravatar_id":"","url":"https://api.github.com/users/kaaproject","html_url":"https://github.com/kaaproject","followers_url":"https://api.github.com/users/kaaproject/followers","following_url":"https://api.github.com/users/kaaproject/following{/other_user}","gists_url":"https://api.github.com/users/kaaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaproject/subscriptions","organizations_url":"https://api.github.com/users/kaaproject/orgs","repos_url":"https://api.github.com/users/kaaproject/repos","events_url":"https://api.github.com/users/kaaproject/events{/privacy}","received_events_url":"https://api.github.com/users/kaaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaaproject/kaa","description":"Kaa open-source middleware platform for building, managing, and integrating connected products with the Internet of Everything.","fork":false,"url":"https://api.github.com/repos/kaaproject/kaa","forks_url":"https://api.github.com/repos/kaaproject/kaa/forks","keys_url":"https://api.github.com/repos/kaaproject/kaa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaaproject/kaa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaaproject/kaa/teams","hooks_url":"https://api.github.com/repos/kaaproject/kaa/hooks","issue_events_url":"https://api.github.com/repos/kaaproject/kaa/issues/events{/number}","events_url":"https://api.github.com/repos/kaaproject/kaa/events","assignees_url":"https://api.github.com/repos/kaaproject/kaa/assignees{/user}","branches_url":"https://api.github.com/repos/kaaproject/kaa/branches{/branch}","tags_url":"https://api.github.com/repos/kaaproject/kaa/tags","blobs_url":"https://api.github.com/repos/kaaproject/kaa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaaproject/kaa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaaproject/kaa/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaaproject/kaa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaaproject/kaa/statuses/{sha}","languages_url":"https://api.github.com/repos/kaaproject/kaa/languages","stargazers_url":"https://api.github.com/repos/kaaproject/kaa/stargazers","contributors_url":"https://api.github.com/repos/kaaproject/kaa/contributors","subscribers_url":"https://api.github.com/repos/kaaproject/kaa/subscribers","subscription_url":"https://api.github.com/repos/kaaproject/kaa/subscription","commits_url":"https://api.github.com/repos/kaaproject/kaa/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaaproject/kaa/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaaproject/kaa/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaaproject/kaa/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaaproject/kaa/contents/{+path}","compare_url":"https://api.github.com/repos/kaaproject/kaa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaaproject/kaa/merges","archive_url":"https://api.github.com/repos/kaaproject/kaa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaaproject/kaa/downloads","issues_url":"https://api.github.com/repos/kaaproject/kaa/issues{/number}","pulls_url":"https://api.github.com/repos/kaaproject/kaa/pulls{/number}","milestones_url":"https://api.github.com/repos/kaaproject/kaa/milestones{/number}","notifications_url":"https://api.github.com/repos/kaaproject/kaa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaaproject/kaa/labels{/name}","releases_url":"https://api.github.com/repos/kaaproject/kaa/releases{/id}","deployments_url":"https://api.github.com/repos/kaaproject/kaa/deployments","created_at":"2014-03-17T18:48:31Z","updated_at":"2016-12-19T14:27:05Z","pushed_at":"2016-12-23T21:38:23Z","git_url":"git://github.com/kaaproject/kaa.git","ssh_url":"git@github.com:kaaproject/kaa.git","clone_url":"https://github.com/kaaproject/kaa.git","svn_url":"https://github.com/kaaproject/kaa","homepage":"http://www.kaaproject.org","size":180138,"stargazers_count":531,"watchers_count":531,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":204,"mirror_url":null,"open_issues_count":5,"forks":204,"open_issues":5,"watchers":531,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/1398"},"html":{"href":"https://github.com/kaaproject/kaa/pull/1398"},"issue":{"href":"https://api.github.com/repos/kaaproject/kaa/issues/1398"},"comments":{"href":"https://api.github.com/repos/kaaproject/kaa/issues/1398/comments"},"review_comments":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/1398/comments"},"review_comment":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/1398/commits"},"statuses":{"href":"https://api.github.com/repos/kaaproject/kaa/statuses/a5a326d599a09447a6bf301a74bd7319bca4b45e"}}}}
{"actor":{"display_login":"RostakaGmfun"}}