{"action":"created","issue":{"url":"https://api.github.com/repos/apigee-labs/transicator/issues/20","repository_url":"https://api.github.com/repos/apigee-labs/transicator","labels_url":"https://api.github.com/repos/apigee-labs/transicator/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/apigee-labs/transicator/issues/20/comments","events_url":"https://api.github.com/repos/apigee-labs/transicator/issues/20/events","html_url":"https://github.com/apigee-labs/transicator/pull/20","id":188274681,"number":20,"title":"Fix postgres crash due to array indexing issue","user":{"login":"kriswehner","id":146619,"avatar_url":"https://avatars.githubusercontent.com/u/146619?v=3","gravatar_id":"","url":"https://api.github.com/users/kriswehner","html_url":"https://github.com/kriswehner","followers_url":"https://api.github.com/users/kriswehner/followers","following_url":"https://api.github.com/users/kriswehner/following{/other_user}","gists_url":"https://api.github.com/users/kriswehner/gists{/gist_id}","starred_url":"https://api.github.com/users/kriswehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriswehner/subscriptions","organizations_url":"https://api.github.com/users/kriswehner/orgs","repos_url":"https://api.github.com/users/kriswehner/repos","events_url":"https://api.github.com/users/kriswehner/events{/privacy}","received_events_url":"https://api.github.com/users/kriswehner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-09T15:27:33Z","updated_at":"2016-11-09T18:48:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apigee-labs/transicator/pulls/20","html_url":"https://github.com/apigee-labs/transicator/pull/20","diff_url":"https://github.com/apigee-labs/transicator/pull/20.diff","patch_url":"https://github.com/apigee-labs/transicator/pull/20.patch"},"body":"This fixes #17 \r\n\r\nThe problem was the natt iteration variable was being used as an array index, but it can skip outside the bounds of the array, which was ultimately causing a crash inside the protobuf assertion mechanisms that were detecting the memory error.\r\n\r\nI've also moved the write outside the release of the memory context, which makes the output plugin consistent with all the other output plugins I can find, though I don't know if ultimately it matters."},"comment":{"url":"https://api.github.com/repos/apigee-labs/transicator/issues/comments/259492645","html_url":"https://github.com/apigee-labs/transicator/pull/20#issuecomment-259492645","issue_url":"https://api.github.com/repos/apigee-labs/transicator/issues/20","id":259492645,"user":{"login":"kriswehner","id":146619,"avatar_url":"https://avatars.githubusercontent.com/u/146619?v=3","gravatar_id":"","url":"https://api.github.com/users/kriswehner","html_url":"https://github.com/kriswehner","followers_url":"https://api.github.com/users/kriswehner/followers","following_url":"https://api.github.com/users/kriswehner/following{/other_user}","gists_url":"https://api.github.com/users/kriswehner/gists{/gist_id}","starred_url":"https://api.github.com/users/kriswehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriswehner/subscriptions","organizations_url":"https://api.github.com/users/kriswehner/orgs","repos_url":"https://api.github.com/users/kriswehner/repos","events_url":"https://api.github.com/users/kriswehner/events{/privacy}","received_events_url":"https://api.github.com/users/kriswehner/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T18:48:10Z","updated_at":"2016-11-09T18:48:10Z","body":"Dry'd up the code and commented as per internal CR feedback."}}
{"actor":{"display_login":"kriswehner"}}