{"action":"opened","issue":{"url":"https://api.github.com/repos/KhronosGroup/glslang/issues/651","repository_url":"https://api.github.com/repos/KhronosGroup/glslang","labels_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/651/comments","events_url":"https://api.github.com/repos/KhronosGroup/glslang/issues/651/events","html_url":"https://github.com/KhronosGroup/glslang/issues/651","id":198125653,"number":651,"title":"HLSL: crash when parsing uninitialized arrays","user":{"login":"Joojooo","id":12390515,"avatar_url":"https://avatars.githubusercontent.com/u/12390515?v=3","gravatar_id":"","url":"https://api.github.com/users/Joojooo","html_url":"https://github.com/Joojooo","followers_url":"https://api.github.com/users/Joojooo/followers","following_url":"https://api.github.com/users/Joojooo/following{/other_user}","gists_url":"https://api.github.com/users/Joojooo/gists{/gist_id}","starred_url":"https://api.github.com/users/Joojooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joojooo/subscriptions","organizations_url":"https://api.github.com/users/Joojooo/orgs","repos_url":"https://api.github.com/users/Joojooo/repos","events_url":"https://api.github.com/users/Joojooo/events{/privacy}","received_events_url":"https://api.github.com/users/Joojooo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-30T09:43:31Z","updated_at":"2016-12-30T09:43:31Z","closed_at":null,"body":"Hi,\r\n\r\nUninitialized arrays will make glslang to crash.\r\n\r\nFor example:\r\n\r\nstatic const float3 colors[5];\r\nfloat3 compute(){\r\n\treturn colors[1];\r\n}\r\n\r\nMaybe it would be more convenient to detect this case and return an error instead?"}}
{"actor":{"display_login":"Joojooo"}}