Hi,
I've been debugging an issue in gtk2-perl causing it to SIGBUS on
sparc64, and traced it back to what seems to be dodgy code inside
libx11. One of the tests calls gdk_window_set_opacity, which calls
XChangeProperty with a pointer to a guint32, cast to char*, with the
length set to 32 bits as
Signed-off-by: James Clarke <jrt...@jrtc27.com>
---
src/sna/sna_display.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 1d31d008..f6b6e5be 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -1033,6 +1033,9 @@ stati
This fixes 2c94cdb453bc641246cc8b9a876da9799bee1ce7 on the Hurd, as FD_SETSIZE
is only 256, and so anyone using XFD_SETSIZE to iterate over the contents of
an fd_set will overrun the array.
Signed-off-by: James Clarke <jrt...@jrtc27.com>
---
Changes since v1:
* Added Signed-off-by
*
This fixes 2c94cdb453bc641246cc8b9a876da9799bee1ce7 on the Hurd, as FD_SETSIZE
is only 256, and so anyone using XFD_SETSIZE to iterate over the contents of
an fd_set will overrun the array.
---
Xpoll.h.in | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Xpoll.h.in