On Tue, Jun 4, 2013 at 2:28 AM, Jochen Schmitt <joc...@herr-schmitt.de> wrote: > Hello, > > a user has reported a crash in rna_access.c on http://bugzilla.redhat.com at > B/ #969043. I have create the attached patch for fixing this issue. It may be > nice, if anyoune can get a look on it. > > Best Regards: > > Jochen Schmitt > > diff -up blender-2.67a/source/blender/makesrna/intern/rna_access.c.rna > blender-2.67a/source/blender/makesrna/intern/rna_access.c > --- blender-2.67a/source/blender/makesrna/intern/rna_access.c.rna > 2013-06-03 17:18:37.070246295 +0200 > +++ blender-2.67a/source/blender/makesrna/intern/rna_access.c 2013-06-03 > 17:37:49.453608060 +0200 > @@ -1273,8 +1273,9 @@ void RNA_property_enum_items_gettexted(b > int totitem = 0; > > /* count */ > - for (i = 0; (*item)[i].identifier; i++) > - totitem++; > + if (*item) > + for (i = 0; (*item)[i].identifier; i++) > + totitem++; > > nitem = MEM_callocN(sizeof(EnumPropertyItem) * > (totitem + 1), "enum_items_gettexted"); >
Hi, Id like to be able to redo the bug but the I couldn't find a link to the report. Assume this is the bug you meant? https://bugzilla.redhat.com/show_bug.cgi?id=969043 It links to another report - but nothing blender related. -- - Campbell _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers