{"push_id":781356310,"size":1,"distinct_size":1,"ref":"refs/heads/OpenSceneGraph-3.4","head":"dc5f294bbb9902800fbc73122ae47fbc059abbf8","before":"7d9536b463a41a35ed4a65d6510e220e90721d28","commits":[{"sha":"dc5f294bbb9902800fbc73122ae47fbc059abbf8","author":{"email":"3ed027b95e680fe91a1f3a630d0abbfc163bb953@gmail.com","name":"Robert OSFIELD"},"message":"From Julien Valentin, \"Serializing custom geometry i ran into a crash due to a\nsetVertexAttribArrayList(array) with array containing NULL vertexAttrib.\nI added a test in order to avoid it\n\n\nCode:\nvoid Geometry::setVertexAttribArrayList(const ArrayList& arrayList)\n{\n    _vertexAttribList = arrayList;\n\n    dirtyDisplayList();\n\n    if (_useVertexBufferObjects)\n    {\n        for(ArrayList::iterator itr = _vertexAttribList.begin();\n            itr != _vertexAttribList.end();\n            ++itr)\n        {\nif(itr->get())//ADDED\n            addVertexBufferObjectIfRequired(itr->get());\n        }\n    }\n}\n\"\n\nand\n\n\"The bug i ran into is a crash reading osgt Geometry with null vertexattribs.\nThe only thing i added is a not nul check on array passed to setVertexAttribArrayList.\"\n\n\n\n\ngit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15122 16af8721-9629-0410-8352-f15c8da7e697","distinct":true,"url":"https://api.github.com/repos/openscenegraph/osg/commits/dc5f294bbb9902800fbc73122ae47fbc059abbf8"}]}