gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r9949: make Sane string length the ma


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9949: make Sane string length the max size.
Date: Sun, 04 Jan 2009 22:23:50 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9949
committer: address@hidden
branch nick: rtmp
timestamp: Sun 2009-01-04 22:23:50 -0700
message:
  make Sane string length the max size.
modified:
  libamf/amf.h
=== modified file 'libamf/amf.h'
--- a/libamf/amf.h      2008-12-31 04:00:25 +0000
+++ b/libamf/amf.h      2009-01-05 05:23:50 +0000
@@ -70,7 +70,7 @@
 /// for the following value is bogus. Although the length field is a short, it
 /// seems silly to assume we'll ever see a string 65,000 characters long. 
Still,
 /// it makes sense to make this an adjustable thing.
-const int SANE_STR_SIZE = 1024;
+const int SANE_STR_SIZE = 65536;
 
 /// Binary representation of an ActionScript object.
 //


reply via email to

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