libX11: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Fri Mar 8 17:41:20 PST 2013
include/X11/Xlibint.h | 19 +++++++++++++++++--
nls/Makefile.am | 4 ++--
2 files changed, 19 insertions(+), 4 deletions(-)
New commits:
commit 39547d600a13713e15429f49768e54c3173c828d
Author: Karl Tomlinson <xmail at karlt.net>
Date: Mon Feb 18 01:25:34 2013 +0000
MakeBigReq: don't move the last word, already handled by Data32
MakeBigReq inserts a length field after the first 4 bytes of the request
(after req->length), pushing everything else back by 4 bytes.
The current memmove moves everything but the first 4 bytes back.
If a request aligns to the end of the buffer pointer when MakeBigReq is
invoked for that request, this runs over the buffer.
Instead, we need to memmove minus the first 4 bytes (which aren't moved),
minus the last 4 bytes (so we still align to the previous tail).
The 4 bytes that fell out are already handled with Data32, which will
handle the buffermax correctly.
The case where req->length = 1 was already not functional.
Reported by Abhishek Arya <inferno at chromium.org>.
https://bugzilla.mozilla.org/show_bug.cgi?id=803762
Reviewed-by: Jeff Muizelaar <jmuizelaar at mozilla.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e
Author: Quentin Glidic <sardemff7+git at sardemff7.net>
Date: Tue Jan 15 21:07:17 2013 +0000
nls/Makefile.am: Use LOG_COMPILER
TESTS_ENVIRONMENT is deprecated
Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit df66d7a98e2bc7f44fb5583b645df87d525f07f1
Author: Quentin Glidic <sardemff7+git at sardemff7.net>
Date: Tue Jan 15 21:07:16 2013 +0000
nls/Makefile.am: Remove unneeded $(srcdir)
Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list