svnno****@sourc*****
svnno****@sourc*****
2009年 8月 28日 (金) 02:00:28 JST
Revision: 182 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=182 Author: yoya Date: 2009-08-28 02:00:28 +0900 (Fri, 28 Aug 2009) Log Message: ----------- 1000 < shape_with_style->count の条件に引っかかった時に count を 0 にするよう改造 Modified Paths: -------------- trunk/src/swf_line_style_array.c -------------- next part -------------- Modified: trunk/src/swf_line_style_array.c =================================================================== --- trunk/src/swf_line_style_array.c 2009-08-27 16:59:53 UTC (rev 181) +++ trunk/src/swf_line_style_array.c 2009-08-27 17:00:28 UTC (rev 182) @@ -27,6 +27,7 @@ if (1000 < shape_with_style->count) { // XXX fprintf(stderr, "swf_line_style_array_parse: too many count(%d)\n", shape_with_style->count); + shape_with_style->count = 0; return 1; } shape_with_style->line_style = calloc(shape_with_style->count, sizeof(swf_line_style_t));