[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9846: Prevent aborts in some malfor
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9846: Prevent aborts in some malformed SWFs. |
Date: |
Thu, 25 Sep 2008 19:38:20 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9846
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2008-09-25 19:38:20 +0200
message:
Prevent aborts in some malformed SWFs.
modified:
libcore/movie_root.cpp
------------------------------------------------------------
revno: 9844.1.1
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Thu 2008-09-25 19:00:18 +0200
message:
Catch ActionParserException in movie_root::advance().
modified:
libcore/movie_root.cpp
=== modified file 'libcore/movie_root.cpp'
--- a/libcore/movie_root.cpp 2008-09-11 14:20:25 +0000
+++ b/libcore/movie_root.cpp 2008-09-25 17:00:18 +0000
@@ -1051,9 +1051,14 @@
// The PP does not disable scripts when the stack limit is reached,
// but rather struggles on.
- log_error(_("Action limit hit during advance: %s."), al.what());
+ log_error(_("Action limit hit during advance: %s"), al.what());
clearActionQueue();
}
+ catch (ActionParserException& e)
+ {
+ log_error(_("Buffer overread during advance: %s"), e.what());
+ clearActionQueue();
+ }
}
void
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9846: Prevent aborts in some malformed SWFs.,
Benjamin Wolsey <=