{"action":"created","issue":{"url":"https://api.github.com/repos/scifio/scifio-imageio/issues/35","repository_url":"https://api.github.com/repos/scifio/scifio-imageio","labels_url":"https://api.github.com/repos/scifio/scifio-imageio/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/scifio/scifio-imageio/issues/35/comments","events_url":"https://api.github.com/repos/scifio/scifio-imageio/issues/35/events","html_url":"https://github.com/scifio/scifio-imageio/pull/35","id":238565067,"number":35,"title":"Fix potential index out of bounds","user":{"login":"codeling","id":1629217,"avatar_url":"https://avatars1.githubusercontent.com/u/1629217?v=4","gravatar_id":"","url":"https://api.github.com/users/codeling","html_url":"https://github.com/codeling","followers_url":"https://api.github.com/users/codeling/followers","following_url":"https://api.github.com/users/codeling/following{/other_user}","gists_url":"https://api.github.com/users/codeling/gists{/gist_id}","starred_url":"https://api.github.com/users/codeling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeling/subscriptions","organizations_url":"https://api.github.com/users/codeling/orgs","repos_url":"https://api.github.com/users/codeling/repos","events_url":"https://api.github.com/users/codeling/events{/privacy}","received_events_url":"https://api.github.com/users/codeling/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-26T14:40:22Z","updated_at":"2017-12-01T13:23:46Z","closed_at":"2017-08-03T14:25:26Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/scifio/scifio-imageio/pulls/35","html_url":"https://github.com/scifio/scifio-imageio/pull/35","diff_url":"https://github.com/scifio/scifio-imageio/pull/35.diff","patch_url":"https://github.com/scifio/scifio-imageio/pull/35.patch"},"body":"In our application, when compiling ITK with SCIFIO module, this method triggers an \"string subscript out of range\" assertion (since it's called with empty path, as it's called with JAVA_HOME environment variable's content, which is not set on my machine).\r\n\r\nAn empty path must not lead to an access to path[-1], this is what this fix addresses."},"comment":{"url":"https://api.github.com/repos/scifio/scifio-imageio/issues/comments/348493606","html_url":"https://github.com/scifio/scifio-imageio/pull/35#issuecomment-348493606","issue_url":"https://api.github.com/repos/scifio/scifio-imageio/issues/35","id":348493606,"user":{"login":"fbudin69500","id":399640,"avatar_url":"https://avatars0.githubusercontent.com/u/399640?v=4","gravatar_id":"","url":"https://api.github.com/users/fbudin69500","html_url":"https://github.com/fbudin69500","followers_url":"https://api.github.com/users/fbudin69500/followers","following_url":"https://api.github.com/users/fbudin69500/following{/other_user}","gists_url":"https://api.github.com/users/fbudin69500/gists{/gist_id}","starred_url":"https://api.github.com/users/fbudin69500/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbudin69500/subscriptions","organizations_url":"https://api.github.com/users/fbudin69500/orgs","repos_url":"https://api.github.com/users/fbudin69500/repos","events_url":"https://api.github.com/users/fbudin69500/events{/privacy}","received_events_url":"https://api.github.com/users/fbudin69500/received_events","type":"User","site_admin":false},"created_at":"2017-12-01T13:23:46Z","updated_at":"2017-12-01T13:23:46Z","author_association":"CONTRIBUTOR","body":"@codeling SCIFIO was updated in ITK very recently and this patch is now included in ITK. It is available if you download the git repository. We are planning on releasing ITK 4.13 in the coming weeks, and that will also include this fix."}}
{"actor":{"display_login":"fbudin69500"}}