{"id":279,"date":"2011-09-05T02:50:57","date_gmt":"2011-09-05T05:50:57","guid":{"rendered":"http:\/\/wahlers.com.br\/claus\/blog\/?p=279"},"modified":"2011-09-09T23:01:27","modified_gmt":"2011-09-10T02:01:27","slug":"talking-about-webgl-and-security","status":"publish","type":"post","link":"http:\/\/wahlers.com.br\/claus\/blog\/talking-about-webgl-and-security\/","title":{"rendered":"Talking about WebGL and Security&#8230;"},"content":{"rendered":"<p>i was just browsing <a href=\"http:\/\/mrdoob.com\/\">MrDoob<\/a>&#8216;s beautiful <a href=\"http:\/\/mrdoob.github.com\/three.js\/\">three.js examples<\/a> when i stumbled on something quite creepy. <\/p>\n<p>This is a screenshot (click for full size image) of my browser rendering <a href=\"http:\/\/mrdoob.github.com\/three.js\/examples\/webgl_materials_cars_anaglyph.html\">one of the demos<\/a>:<\/p>\n<p><a href=\"http:\/\/wahlers.com.br\/claus\/blog\/wp-content\/uploads\/Screen%20shot%202011-09-05%20at%201.41.42%20AM.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/wahlers.com.br\/claus\/blog\/wp-content\/uploads\/Screen-shot-2011-09-05-at-1.41.42-AM-440.jpg\" alt=\"\" title=\"Screen shot 2011-09-05 at 1.41.42 AM\" width=\"440\" height=\"222\" class=\"alignnone size-medium wp-image-280\" \/><\/a><\/p>\n<p>What you see is a messed up background texture showing fragments of my local desktop. Note that some of the windows that you see weren&#8217;t even open anymore at the time the demo ran, like the Keychain one.. *shudder*<\/p>\n<p>Every time i reload the demo, the background texture shows different, seemingly random fragments. This happens in both Chrome (13) and Firefox (6). I&#8217;m on a MBP featuring an Intel HD Graphics 3000, running Mac OS X 10.6.8.<\/p>\n<p>What i suspect is happening here is that either WebGL, the drivers, or the GPU itself corrupts the GPU texture memory somewhere and pulls in content it shouldn&#8217;t pull. I&#8217;m certainly not an expert in this field, so this is really just an (un)educated guess.<\/p>\n<p>Thoughts?<\/p>\n<p>[Update: I logged a bug with Mozilla, and this bug was marked fixed and closed today. Thanks Benoit and everyone else from Mozilla and Google who was involved!]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>i was just browsing MrDoob&#8216;s beautiful three.js examples when i stumbled on something quite creepy. This is a screenshot (click for full size image) of my browser rendering one of the demos: What you see is a messed up background &hellip; <a href=\"http:\/\/wahlers.com.br\/claus\/blog\/talking-about-webgl-and-security\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,22],"tags":[],"class_list":["post-279","post","type-post","status-publish","format-standard","hentry","category-gpu","category-webgl"],"_links":{"self":[{"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/posts\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":10,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions"}],"predecessor-version":[{"id":289,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions\/289"}],"wp:attachment":[{"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/categories?post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wahlers.com.br\/claus\/blog\/wp-json\/wp\/v2\/tags?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}