[osg-submissions] Data deleted before access in dae plugin

Robert Osfield robert.osfield at gmail.com
Tue Jul 24 06:28:53 PDT 2007


Hi Parag,

Could you post a whole modified file.

Cheers,
Robert.

On 7/24/07, Parag Chaudhuri <parag at miralab.unige.ch> wrote:
> Hi,
>
> I do not know if this is a previously reported bug or not. If it is then please excuse the
> mail.
>
> I am using the OSG 2.0 stable release and not the nightly CVS version.
>
> In daeRMaterials.cpp in the COLLADA plugin, in the processTexture function, Lines 519-522
> of the source file:
>
> The "delete [] path" appears before the "osg::notify", causing the data pointed to by
> "filename" to be deleted before access causing an access violation.
>
> best wishes,
> Parag
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>


More information about the osg-submissions mailing list