[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog libamf/sol.cpp
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash ChangeLog libamf/sol.cpp |
Date: |
Mon, 11 Feb 2008 01:07:44 +0100 |
On Sun, Feb 10, 2008 at 01:31:01PM +0000, Bastiaan Jacques wrote:
> 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
> 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;
What are these magic numbers exactly ?
--strk;