Skip to content
  • kbr@google.com's avatar
    2010-07-09 Kenneth Russell <kbr@google.com> · b35cbfdf
    kbr@google.com authored
            Reviewed by Nate Chapin.
    
            bufferSubData causes crash in WebGLBuffer::associateBufferSubData
            https://bugs.webkit.org/show_bug.cgi?id=42004
    
            Test: fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html
    
            * html/canvas/WebGLBuffer.cpp:
            (WebCore::WebGLBuffer::associateBufferData):
             - Allocate m_elementArrayBuffer for entry point taking only size.
               Guard against allocation failures of m_elementArrayBuffer.
            (WebCore::WebGLBuffer::associateBufferSubData):
             - Guard against any possibility of crashes due to m_elementArrayBuffer being NULL.
    2010-07-09  Kenneth Russell  <kbr@google.com>
    
            Reviewed by Nate Chapin.
    
            bufferSubData causes crash in WebGLBuffer::associateBufferSubData
            https://bugs.webkit.org/show_bug.cgi?id=42004
    
            * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data-expected.txt: Added.
            * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b35cbfdf