]> git.eshelyaron.com Git - emacs.git/commit
Fix buffer overflow in x-send-client-message
authorKalle Olavi Niemitalo <kon@iki.fi>
Tue, 18 Aug 2020 15:03:07 +0000 (17:03 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Aug 2020 15:05:08 +0000 (17:05 +0200)
commit4670969e6791c76460c647b5f86317ddb75898bc
tree1a7d39efb5edef837d04a692fd9f543aef12f43a
parent06738a40d10706e36ca0dc767ed3a0ef6fe17078
Fix buffer overflow in x-send-client-message

* xselect.c (x_fill_property_data): Add parameter NELEMENTS_MAX.
* xterm.h (x_fill_property_data): Update prototype.
* xselect.c (Fx_send_client_event): Update call.  This fixes
  a buffer overflow in event.xclient.data.
* xfns.c (Fx_change_window_property): Update call (bug#23482).

Copyright-paperwork-exempt: yes
src/xfns.c
src/xselect.c
src/xterm.h