{"action":"closed","number":306,"pull_request":{"url":"https://api.github.com/repos/weidai11/cryptopp/pulls/306","id":86632461,"html_url":"https://github.com/weidai11/cryptopp/pull/306","diff_url":"https://github.com/weidai11/cryptopp/pull/306.diff","patch_url":"https://github.com/weidai11/cryptopp/pull/306.patch","issue_url":"https://api.github.com/repos/weidai11/cryptopp/issues/306","number":306,"state":"closed","locked":false,"title":"Incorrect calls to _malloca() to _freea() can leak memory and/or cause crashes on Windows","user":{"login":"johnwbyrd","id":882835,"avatar_url":"https://avatars.githubusercontent.com/u/882835?v=3","gravatar_id":"","url":"https://api.github.com/users/johnwbyrd","html_url":"https://github.com/johnwbyrd","followers_url":"https://api.github.com/users/johnwbyrd/followers","following_url":"https://api.github.com/users/johnwbyrd/following{/other_user}","gists_url":"https://api.github.com/users/johnwbyrd/gists{/gist_id}","starred_url":"https://api.github.com/users/johnwbyrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnwbyrd/subscriptions","organizations_url":"https://api.github.com/users/johnwbyrd/orgs","repos_url":"https://api.github.com/users/johnwbyrd/repos","events_url":"https://api.github.com/users/johnwbyrd/events{/privacy}","received_events_url":"https://api.github.com/users/johnwbyrd/received_events","type":"User","site_admin":false},"body":"Allocate 4K of memory using _malloca instead of 256+ bytes.  Search within that 4K space to put the 256-byte aligned Locals struct in a place which does not have 4K cache conflicts with the Te temporary buffer.   This permits us to call _malloca() or alloca() once per call of this function.  This commit also makes sure that the Microsoft-only _freea() occurs at the correct location instead of at a pointer to the middle of the stack, when the memory allocated by _malloca() or alloca() is not 256-byte aligned.","created_at":"2016-09-24T22:12:03Z","updated_at":"2016-09-24T22:39:06Z","closed_at":"2016-09-24T22:39:06Z","merged_at":"2016-09-24T22:39:06Z","merge_commit_sha":"a33b95325ffee5a1d92e66d14c1ad5207e1375de","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/weidai11/cryptopp/pulls/306/commits","review_comments_url":"https://api.github.com/repos/weidai11/cryptopp/pulls/306/comments","review_comment_url":"https://api.github.com/repos/weidai11/cryptopp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/weidai11/cryptopp/issues/306/comments","statuses_url":"https://api.github.com/repos/weidai11/cryptopp/statuses/a33b95325ffee5a1d92e66d14c1ad5207e1375de","head":{"label":"johnwbyrd:master","ref":"master","sha":"a33b95325ffee5a1d92e66d14c1ad5207e1375de","user":{"login":"johnwbyrd","id":882835,"avatar_url":"https://avatars.githubusercontent.com/u/882835?v=3","gravatar_id":"","url":"https://api.github.com/users/johnwbyrd","html_url":"https://github.com/johnwbyrd","followers_url":"https://api.github.com/users/johnwbyrd/followers","following_url":"https://api.github.com/users/johnwbyrd/following{/other_user}","gists_url":"https://api.github.com/users/johnwbyrd/gists{/gist_id}","starred_url":"https://api.github.com/users/johnwbyrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnwbyrd/subscriptions","organizations_url":"https://api.github.com/users/johnwbyrd/orgs","repos_url":"https://api.github.com/users/johnwbyrd/repos","events_url":"https://api.github.com/users/johnwbyrd/events{/privacy}","received_events_url":"https://api.github.com/users/johnwbyrd/received_events","type":"User","site_admin":false},"repo":{"id":68972648,"name":"cryptopp","full_name":"johnwbyrd/cryptopp","owner":{"login":"johnwbyrd","id":882835,"avatar_url":"https://avatars.githubusercontent.com/u/882835?v=3","gravatar_id":"","url":"https://api.github.com/users/johnwbyrd","html_url":"https://github.com/johnwbyrd","followers_url":"https://api.github.com/users/johnwbyrd/followers","following_url":"https://api.github.com/users/johnwbyrd/following{/other_user}","gists_url":"https://api.github.com/users/johnwbyrd/gists{/gist_id}","starred_url":"https://api.github.com/users/johnwbyrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnwbyrd/subscriptions","organizations_url":"https://api.github.com/users/johnwbyrd/orgs","repos_url":"https://api.github.com/users/johnwbyrd/repos","events_url":"https://api.github.com/users/johnwbyrd/events{/privacy}","received_events_url":"https://api.github.com/users/johnwbyrd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnwbyrd/cryptopp","description":null,"fork":true,"url":"https://api.github.com/repos/johnwbyrd/cryptopp","forks_url":"https://api.github.com/repos/johnwbyrd/cryptopp/forks","keys_url":"https://api.github.com/repos/johnwbyrd/cryptopp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnwbyrd/cryptopp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnwbyrd/cryptopp/teams","hooks_url":"https://api.github.com/repos/johnwbyrd/cryptopp/hooks","issue_events_url":"https://api.github.com/repos/johnwbyrd/cryptopp/issues/events{/number}","events_url":"https://api.github.com/repos/johnwbyrd/cryptopp/events","assignees_url":"https://api.github.com/repos/johnwbyrd/cryptopp/assignees{/user}","branches_url":"https://api.github.com/repos/johnwbyrd/cryptopp/branches{/branch}","tags_url":"https://api.github.com/repos/johnwbyrd/cryptopp/tags","blobs_url":"https://api.github.com/repos/johnwbyrd/cryptopp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnwbyrd/cryptopp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnwbyrd/cryptopp/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnwbyrd/cryptopp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnwbyrd/cryptopp/statuses/{sha}","languages_url":"https://api.github.com/repos/johnwbyrd/cryptopp/languages","stargazers_url":"https://api.github.com/repos/johnwbyrd/cryptopp/stargazers","contributors_url":"https://api.github.com/repos/johnwbyrd/cryptopp/contributors","subscribers_url":"https://api.github.com/repos/johnwbyrd/cryptopp/subscribers","subscription_url":"https://api.github.com/repos/johnwbyrd/cryptopp/subscription","commits_url":"https://api.github.com/repos/johnwbyrd/cryptopp/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnwbyrd/cryptopp/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnwbyrd/cryptopp/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnwbyrd/cryptopp/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnwbyrd/cryptopp/contents/{+path}","compare_url":"https://api.github.com/repos/johnwbyrd/cryptopp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnwbyrd/cryptopp/merges","archive_url":"https://api.github.com/repos/johnwbyrd/cryptopp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnwbyrd/cryptopp/downloads","issues_url":"https://api.github.com/repos/johnwbyrd/cryptopp/issues{/number}","pulls_url":"https://api.github.com/repos/johnwbyrd/cryptopp/pulls{/number}","milestones_url":"https://api.github.com/repos/johnwbyrd/cryptopp/milestones{/number}","notifications_url":"https://api.github.com/repos/johnwbyrd/cryptopp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnwbyrd/cryptopp/labels{/name}","releases_url":"https://api.github.com/repos/johnwbyrd/cryptopp/releases{/id}","deployments_url":"https://api.github.com/repos/johnwbyrd/cryptopp/deployments","created_at":"2016-09-23T00:13:19Z","updated_at":"2016-09-23T00:13:22Z","pushed_at":"2016-09-23T00:44:12Z","git_url":"git://github.com/johnwbyrd/cryptopp.git","ssh_url":"git@github.com:johnwbyrd/cryptopp.git","clone_url":"https://github.com/johnwbyrd/cryptopp.git","svn_url":"https://github.com/johnwbyrd/cryptopp","homepage":null,"size":8995,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"weidai11:master","ref":"master","sha":"c892295487990bc2f49ff1c144d5de2842b0f00c","user":{"login":"weidai11","id":1622188,"avatar_url":"https://avatars.githubusercontent.com/u/1622188?v=3","gravatar_id":"","url":"https://api.github.com/users/weidai11","html_url":"https://github.com/weidai11","followers_url":"https://api.github.com/users/weidai11/followers","following_url":"https://api.github.com/users/weidai11/following{/other_user}","gists_url":"https://api.github.com/users/weidai11/gists{/gist_id}","starred_url":"https://api.github.com/users/weidai11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weidai11/subscriptions","organizations_url":"https://api.github.com/users/weidai11/orgs","repos_url":"https://api.github.com/users/weidai11/repos","events_url":"https://api.github.com/users/weidai11/events{/privacy}","received_events_url":"https://api.github.com/users/weidai11/received_events","type":"User","site_admin":false},"repo":{"id":36832736,"name":"cryptopp","full_name":"weidai11/cryptopp","owner":{"login":"weidai11","id":1622188,"avatar_url":"https://avatars.githubusercontent.com/u/1622188?v=3","gravatar_id":"","url":"https://api.github.com/users/weidai11","html_url":"https://github.com/weidai11","followers_url":"https://api.github.com/users/weidai11/followers","following_url":"https://api.github.com/users/weidai11/following{/other_user}","gists_url":"https://api.github.com/users/weidai11/gists{/gist_id}","starred_url":"https://api.github.com/users/weidai11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weidai11/subscriptions","organizations_url":"https://api.github.com/users/weidai11/orgs","repos_url":"https://api.github.com/users/weidai11/repos","events_url":"https://api.github.com/users/weidai11/events{/privacy}","received_events_url":"https://api.github.com/users/weidai11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weidai11/cryptopp","description":null,"fork":false,"url":"https://api.github.com/repos/weidai11/cryptopp","forks_url":"https://api.github.com/repos/weidai11/cryptopp/forks","keys_url":"https://api.github.com/repos/weidai11/cryptopp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weidai11/cryptopp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weidai11/cryptopp/teams","hooks_url":"https://api.github.com/repos/weidai11/cryptopp/hooks","issue_events_url":"https://api.github.com/repos/weidai11/cryptopp/issues/events{/number}","events_url":"https://api.github.com/repos/weidai11/cryptopp/events","assignees_url":"https://api.github.com/repos/weidai11/cryptopp/assignees{/user}","branches_url":"https://api.github.com/repos/weidai11/cryptopp/branches{/branch}","tags_url":"https://api.github.com/repos/weidai11/cryptopp/tags","blobs_url":"https://api.github.com/repos/weidai11/cryptopp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weidai11/cryptopp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weidai11/cryptopp/git/refs{/sha}","trees_url":"https://api.github.com/repos/weidai11/cryptopp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weidai11/cryptopp/statuses/{sha}","languages_url":"https://api.github.com/repos/weidai11/cryptopp/languages","stargazers_url":"https://api.github.com/repos/weidai11/cryptopp/stargazers","contributors_url":"https://api.github.com/repos/weidai11/cryptopp/contributors","subscribers_url":"https://api.github.com/repos/weidai11/cryptopp/subscribers","subscription_url":"https://api.github.com/repos/weidai11/cryptopp/subscription","commits_url":"https://api.github.com/repos/weidai11/cryptopp/commits{/sha}","git_commits_url":"https://api.github.com/repos/weidai11/cryptopp/git/commits{/sha}","comments_url":"https://api.github.com/repos/weidai11/cryptopp/comments{/number}","issue_comment_url":"https://api.github.com/repos/weidai11/cryptopp/issues/comments{/number}","contents_url":"https://api.github.com/repos/weidai11/cryptopp/contents/{+path}","compare_url":"https://api.github.com/repos/weidai11/cryptopp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weidai11/cryptopp/merges","archive_url":"https://api.github.com/repos/weidai11/cryptopp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weidai11/cryptopp/downloads","issues_url":"https://api.github.com/repos/weidai11/cryptopp/issues{/number}","pulls_url":"https://api.github.com/repos/weidai11/cryptopp/pulls{/number}","milestones_url":"https://api.github.com/repos/weidai11/cryptopp/milestones{/number}","notifications_url":"https://api.github.com/repos/weidai11/cryptopp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weidai11/cryptopp/labels{/name}","releases_url":"https://api.github.com/repos/weidai11/cryptopp/releases{/id}","deployments_url":"https://api.github.com/repos/weidai11/cryptopp/deployments","created_at":"2015-06-03T21:53:52Z","updated_at":"2016-09-24T10:20:08Z","pushed_at":"2016-09-24T22:39:05Z","git_url":"git://github.com/weidai11/cryptopp.git","ssh_url":"git@github.com:weidai11/cryptopp.git","clone_url":"https://github.com/weidai11/cryptopp.git","svn_url":"https://github.com/weidai11/cryptopp","homepage":null,"size":11193,"stargazers_count":353,"watchers_count":353,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":35,"forks":152,"open_issues":35,"watchers":353,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/weidai11/cryptopp/pulls/306"},"html":{"href":"https://github.com/weidai11/cryptopp/pull/306"},"issue":{"href":"https://api.github.com/repos/weidai11/cryptopp/issues/306"},"comments":{"href":"https://api.github.com/repos/weidai11/cryptopp/issues/306/comments"},"review_comments":{"href":"https://api.github.com/repos/weidai11/cryptopp/pulls/306/comments"},"review_comment":{"href":"https://api.github.com/repos/weidai11/cryptopp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/weidai11/cryptopp/pulls/306/commits"},"statuses":{"href":"https://api.github.com/repos/weidai11/cryptopp/statuses/a33b95325ffee5a1d92e66d14c1ad5207e1375de"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"noloader","id":3538226,"avatar_url":"https://avatars.githubusercontent.com/u/3538226?v=3","gravatar_id":"","url":"https://api.github.com/users/noloader","html_url":"https://github.com/noloader","followers_url":"https://api.github.com/users/noloader/followers","following_url":"https://api.github.com/users/noloader/following{/other_user}","gists_url":"https://api.github.com/users/noloader/gists{/gist_id}","starred_url":"https://api.github.com/users/noloader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noloader/subscriptions","organizations_url":"https://api.github.com/users/noloader/orgs","repos_url":"https://api.github.com/users/noloader/repos","events_url":"https://api.github.com/users/noloader/events{/privacy}","received_events_url":"https://api.github.com/users/noloader/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"noloader"}}