gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog libamf/sol.cpp


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog libamf/sol.cpp
Date: Sun, 10 Feb 2008 13:31:01 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     08/02/10 13:31:00

Modified files:
        .              : ChangeLog 
        libamf         : sol.cpp 

Log message:
        in writeFile, allocate enough space to account for two padding bytes, 
which
        are written depending on the AMF element type. Fixes bug #22188.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5606&r2=1.5607
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/sol.cpp?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5606
retrieving revision 1.5607
diff -u -b -r1.5606 -r1.5607
--- ChangeLog   10 Feb 2008 09:36:38 -0000      1.5606
+++ ChangeLog   10 Feb 2008 13:30:59 -0000      1.5607
@@ -1,3 +1,9 @@
+2008-02-08 Bastiaan Jacques <address@hidden>
+
+       * libamf/sol.cpp: in writeFile, allocate enough space to account
+       for two padding bytes, which are written depending on the AMF element
+       type. Fixes bug #22188.
+
 2008-02-10 Benjamin Wolsey <address@hidden>
 
        * server/sprite_instance.cpp, server/movie_root.cpp: const correct

Index: libamf/sol.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/sol.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- libamf/sol.cpp      31 Jan 2008 11:25:57 -0000      1.19
+++ libamf/sol.cpp      10 Feb 2008 13:31:00 -0000      1.20
@@ -216,7 +216,7 @@
 
     for (ita = _amfobjs.begin(); ita != _amfobjs.end(); ita++) {
         amf::Element *el = (*(ita));
-       size += el->getName().size() + el->getLength() + 5;
+       size += el->getName().size() + el->getLength() + 7;
     }
     _filesize = size;
     




reply via email to

[Prev in Thread] Current Thread [Next in Thread]