Package: mozplugger
Version: 1.10.2-1
Severity: important
Tags: patch
I found that, since roughly two month ago, mozplugger would
not swallow windows anymore. The following patch makes it
swallow them again. I've not checked the X11 manuals to check
that the patch is correct (looks ok on the surface, but
everything depends on the fact that only the lower 32 bit
of each property "long" is set).
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23.14 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mozplugger depends on:
ii epiphany-browser 2.22.1.1-1 Intuitive web browser - dummy pack
ii iceweasel 2.0.0.14-2 lightweight web browser based on M
ii konqueror 4:3.5.9.dfsg.1-2+b1 KDE's advanced file manager, web b
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libx11-6 2:1.1.4-2 X11 client-side library
ii m4 1.4.11-1 a macro processing language
mozplugger recommends no packages.
-- no debconf information
diff -ru mozplugger-1.10.2-orig/mozplugger-helper.c
mozplugger-1.10.2/mozplugger-helper.c
--- mozplugger-1.10.2-orig/mozplugger-helper.c 2008-03-22 22:44:52.000000000
+0100
+++ mozplugger-1.10.2/mozplugger-helper.c 2008-07-07 17:07:09.000000000
+0200
@@ -306,8 +306,8 @@
"%ld,%d,%lu,%lu\n", (long) type, fmt,
nitems,
bytes);
}
- else if( ( ((unsigned long *)property)[1] == ourPid)
- && ( ((unsigned long *)property)[0] == ourHostId) )
+ else if( ( (uint32)((unsigned long *)property)[1] == ourPid)
+ && ( (uint32)((unsigned long *)property)[0] == ourHostId) )
{
gotIt = 1;
}