Bug#684144: security issues with transmitted map cfgs

Martin Erik Werner martinerikwerner at gmail.com
Sun Sep 16 18:19:56 UTC 2012


On Sun, 2012-09-16 at 17:47 +0200, gregor herrmann wrote:
> On Tue, 07 Aug 2012 13:53:47 +0200, Martin Erik Werner wrote:
> 
> > The fix for Sauerbraten has been committed as
> > http://sauerbraten.svn.sourceforge.net/viewvc/sauerbraten?view=revision&revision=4134 .
> 
> Unfortunately it doesn't work as is:
(...)
Ah, yeah, patch is based on a (major?) change in r3259 (current Debian
is based on ~ r3225 "justice edition")

Looking at the changes that were in r3225 I'm guessing that using
this[1] might be equivalent and work in the Debian version, I'm not sure
though.

[1]
--- a/engine/textedit.h
+++ b/engine/textedit.h
@@ -672,7 +672,7 @@
 
 #define TEXTCOMMAND(f, s, d, body) ICOMMAND(f, s, d,\
     editor *top = currentfocus();\
-    if(!top) return;\
+    if(!top || overrideidents) return;\
     body\
 )
 
-- 
Martin Erik Werner <martinerikwerner at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20120916/b77ae0cf/attachment.pgp>


More information about the Pkg-games-devel mailing list