{"action":"closed","number":363,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/363","id":79058864,"html_url":"https://github.com/mongodb/mongo-c-driver/pull/363","diff_url":"https://github.com/mongodb/mongo-c-driver/pull/363.diff","patch_url":"https://github.com/mongodb/mongo-c-driver/pull/363.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/363","number":363,"state":"closed","locked":false,"title":"mongoc_bulk_operation_execute: ensure reply is initialized before returning","user":{"login":"cschwarz-inco","id":6676351,"avatar_url":"https://avatars.githubusercontent.com/u/6676351?v=3","gravatar_id":"","url":"https://api.github.com/users/cschwarz-inco","html_url":"https://github.com/cschwarz-inco","followers_url":"https://api.github.com/users/cschwarz-inco/followers","following_url":"https://api.github.com/users/cschwarz-inco/following{/other_user}","gists_url":"https://api.github.com/users/cschwarz-inco/gists{/gist_id}","starred_url":"https://api.github.com/users/cschwarz-inco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschwarz-inco/subscriptions","organizations_url":"https://api.github.com/users/cschwarz-inco/orgs","repos_url":"https://api.github.com/users/cschwarz-inco/repos","events_url":"https://api.github.com/users/cschwarz-inco/events{/privacy}","received_events_url":"https://api.github.com/users/cschwarz-inco/received_events","type":"User","site_admin":false},"body":"The documentation for \"mongoc_bulk_operation_execute\" says \"reply is always initialized, even upon failure. Callers must call bson_destroy() to release this potential allocation.\"\r\n\r\nHowever, implementation does not initialize reply in all cases, making it impossible for the caller to determine whether reply has been initialized or not. This is contrary to documentation, which says that reply is ALWAYS initialized.\r\n\r\nThis commit changes the implementation to be in accordance with the documentation. reply is initialized before any return.\r\n","created_at":"2016-07-27T16:49:29Z","updated_at":"2016-07-29T18:47:04Z","closed_at":"2016-07-29T18:47:03Z","merged_at":null,"merge_commit_sha":"85164a1940ababa78ca616d8509276281ea8dd2c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/363/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/363/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/363/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/a728460345228a4bfcad712f8824a7f18c99b67c","head":{"label":"cschwarz-inco:master","ref":"master","sha":"a728460345228a4bfcad712f8824a7f18c99b67c","user":{"login":"cschwarz-inco","id":6676351,"avatar_url":"https://avatars.githubusercontent.com/u/6676351?v=3","gravatar_id":"","url":"https://api.github.com/users/cschwarz-inco","html_url":"https://github.com/cschwarz-inco","followers_url":"https://api.github.com/users/cschwarz-inco/followers","following_url":"https://api.github.com/users/cschwarz-inco/following{/other_user}","gists_url":"https://api.github.com/users/cschwarz-inco/gists{/gist_id}","starred_url":"https://api.github.com/users/cschwarz-inco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschwarz-inco/subscriptions","organizations_url":"https://api.github.com/users/cschwarz-inco/orgs","repos_url":"https://api.github.com/users/cschwarz-inco/repos","events_url":"https://api.github.com/users/cschwarz-inco/events{/privacy}","received_events_url":"https://api.github.com/users/cschwarz-inco/received_events","type":"User","site_admin":false},"repo":{"id":64172925,"name":"mongo-c-driver","full_name":"cschwarz-inco/mongo-c-driver","owner":{"login":"cschwarz-inco","id":6676351,"avatar_url":"https://avatars.githubusercontent.com/u/6676351?v=3","gravatar_id":"","url":"https://api.github.com/users/cschwarz-inco","html_url":"https://github.com/cschwarz-inco","followers_url":"https://api.github.com/users/cschwarz-inco/followers","following_url":"https://api.github.com/users/cschwarz-inco/following{/other_user}","gists_url":"https://api.github.com/users/cschwarz-inco/gists{/gist_id}","starred_url":"https://api.github.com/users/cschwarz-inco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschwarz-inco/subscriptions","organizations_url":"https://api.github.com/users/cschwarz-inco/orgs","repos_url":"https://api.github.com/users/cschwarz-inco/repos","events_url":"https://api.github.com/users/cschwarz-inco/events{/privacy}","received_events_url":"https://api.github.com/users/cschwarz-inco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cschwarz-inco/mongo-c-driver","description":"A high-performance MongoDB driver for C","fork":true,"url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver","forks_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/forks","keys_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/teams","hooks_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/hooks","issue_events_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/issues/events{/number}","events_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/events","assignees_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/assignees{/user}","branches_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/branches{/branch}","tags_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/tags","blobs_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/languages","stargazers_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/stargazers","contributors_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/contributors","subscribers_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/subscribers","subscription_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/subscription","commits_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/contents/{+path}","compare_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/merges","archive_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/downloads","issues_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/issues{/number}","pulls_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/labels{/name}","releases_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/releases{/id}","deployments_url":"https://api.github.com/repos/cschwarz-inco/mongo-c-driver/deployments","created_at":"2016-07-25T22:48:15Z","updated_at":"2016-07-25T22:48:18Z","pushed_at":"2016-07-27T16:44:48Z","git_url":"git://github.com/cschwarz-inco/mongo-c-driver.git","ssh_url":"git@github.com:cschwarz-inco/mongo-c-driver.git","clone_url":"https://github.com/cschwarz-inco/mongo-c-driver.git","svn_url":"https://github.com/cschwarz-inco/mongo-c-driver","homepage":"","size":15608,"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":"mongodb:master","ref":"master","sha":"b9f5cb78c0acfd032f671816f6d485fd92fa6846","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":9735077,"name":"mongo-c-driver","full_name":"mongodb/mongo-c-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-c-driver","description":"A high-performance MongoDB driver for C","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-c-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-c-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-c-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-c-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-c-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-c-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-c-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-c-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-c-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-c-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-c-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-c-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-c-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-c-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-c-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-c-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-c-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-c-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-c-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-c-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-c-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-c-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-c-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-c-driver/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/deployments","created_at":"2013-04-28T19:34:36Z","updated_at":"2016-07-29T05:08:20Z","pushed_at":"2016-07-29T18:45:48Z","git_url":"git://github.com/mongodb/mongo-c-driver.git","ssh_url":"git@github.com:mongodb/mongo-c-driver.git","clone_url":"https://github.com/mongodb/mongo-c-driver.git","svn_url":"https://github.com/mongodb/mongo-c-driver","homepage":"","size":18909,"stargazers_count":251,"watchers_count":251,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":170,"mirror_url":null,"open_issues_count":1,"forks":170,"open_issues":1,"watchers":251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/363"},"html":{"href":"https://github.com/mongodb/mongo-c-driver/pull/363"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/363"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/363/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/363/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/363/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/a728460345228a4bfcad712f8824a7f18c99b67c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":3,"additions":5,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"ajdavis"}}