{"action":"opened","issue":{"url":"https://api.github.com/repos/ocornut/imgui/issues/131","labels_url":"https://api.github.com/repos/ocornut/imgui/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/ocornut/imgui/issues/131/comments","events_url":"https://api.github.com/repos/ocornut/imgui/issues/131/events","html_url":"https://github.com/ocornut/imgui/issues/131","id":57547236,"number":131,"title":"Access Violation in ImFont::BuildLookupTable()","user":{"login":"Visse","id":1035465,"avatar_url":"https://avatars.githubusercontent.com/u/1035465?v=3","gravatar_id":"","url":"https://api.github.com/users/Visse","html_url":"https://github.com/Visse","followers_url":"https://api.github.com/users/Visse/followers","following_url":"https://api.github.com/users/Visse/following{/other_user}","gists_url":"https://api.github.com/users/Visse/gists{/gist_id}","starred_url":"https://api.github.com/users/Visse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Visse/subscriptions","organizations_url":"https://api.github.com/users/Visse/orgs","repos_url":"https://api.github.com/users/Visse/repos","events_url":"https://api.github.com/users/Visse/events{/privacy}","received_events_url":"https://api.github.com/users/Visse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-13T01:35:59Z","updated_at":"2015-02-13T01:35:59Z","closed_at":null,"body":"Hi, the offending code is:\r\n```c++\r\nif (const ImFont::Glyph* space_glyph = FindGlyph((unsigned short)' '))\r\n{\r\n    Glyphs.resize(Glyphs.size() + 1);\r\n    ImFont::Glyph& tab_glyph = Glyphs.back();\r\n    tab_glyph = *space_glyph;\r\n```\r\nwhere 'space_glypth' is a dangling pointer after the resize of 'Glyphs'"}}