* Daniel Kahn Gillmor <[email protected]>, 2014-10-06, 14:15:
Any suggestions for how to get to the cause of this?

Valgrind tells me:

==6528== Invalid write of size 4
==6528==    at 0x804AC8F: args_main (xdotool.c:507)
==6528==    by 0x804A5A4: xdotool_main (xdotool.c:316)
==6528==    by 0x804A4BB: main (xdotool.c:287)
==6528==  Address 0x442b0bc is 0 bytes after a block of size 44 alloc'd
==6528==    at 0x40291CC: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==6528==    by 0x40425D3: xdo_new_with_opened_display (in /usr/lib/libxdo.so.3)
==6528==    by 0x4042913: xdo_new (in /usr/lib/libxdo.so.3)
==6528==    by 0x804AC11: args_main (xdotool.c:493)
==6528==    by 0x804A5A4: xdotool_main (xdotool.c:316)
==6528==    by 0x804A4BB: main (xdotool.c:287)

The line that triggers this buffer overflow is:

 context.xdo->debug = context.debug;

And indeed, the xdo_t structure has changed incompatibly: modmap and keymap fields have been removed.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to