> + if ( tag_length > 1024*62 ) should be 1024*64 ?
--zou On Dec 3, 2007 8:33 PM, Sandro Santilli <[EMAIL PROTECTED]> wrote: > CVSROOT: /sources/gnash > Module name: gnash > Changes by: Sandro Santilli <strk> 07/12/03 12:33:32 > > Modified files: > server : stream.cpp > > Log message: > log a debugging message if any tag is bigger then 64k (useful for > analyzing > the cache-full-tags idea) > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/gnash/server/stream.cpp?cvsroot=gnash&r1=1.34&r2=1.35 > > Patches: > Index: stream.cpp > =================================================================== > RCS file: /sources/gnash/gnash/server/stream.cpp,v > retrieving revision 1.34 > retrieving revision 1.35 > diff -u -b -r1.34 -r1.35 > --- stream.cpp 3 Dec 2007 11:09:27 -0000 1.34 > +++ stream.cpp 3 Dec 2007 12:33:32 -0000 1.35 > @@ -435,6 +435,11 @@ > tag_length = m_input->read_le32(); > } > > + if ( tag_length > 1024*62 ) > + { > + log_debug("Tag %d has a size of %d bytes !!", > tag_type, tag_length); > + } > + > // Remember where the end of the tag is, so we can > // fast-forward past it when we're done reading it. > _tagBoundsStack.push_back(std::make_pair(offset, > get_position() + tag_length)); > > > _______________________________________________ > Gnash-commit mailing list > Gnash-commit@gnu.org > http://lists.gnu.org/mailman/listinfo/gnash-commit > _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit