[Swfed-svn] swfed-svn [436] swf_tag_move でデータを移す時、念の為 from の length に 0 代入

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 3月 18日 (金) 11:24:32 JST


Revision: 436
          http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=436
Author:   yoya
Date:     2011-03-18 11:24:32 +0900 (Fri, 18 Mar 2011)

Log Message:
-----------
swf_tag_move でデータを移す時、念の為 from の length に 0 代入

Modified Paths:
--------------
    trunk/src/swf_tag.c


-------------- next part --------------
Modified: trunk/src/swf_tag.c
===================================================================
--- trunk/src/swf_tag.c	2011-03-17 07:33:15 UTC (rev 435)
+++ trunk/src/swf_tag.c	2011-03-18 02:24:32 UTC (rev 436)
@@ -968,6 +968,7 @@
     to_tag->length_longformat = from_tag->length_longformat;
     to_tag->data = from_tag->data;
     from_tag->data = NULL;
+    from_tag->length = 0;
     to_tag->detail = from_tag->detail;
     from_tag->detail = NULL;
     return to_tag;



Swfed-svn メーリングリストの案内
Back to archive index