xrdb: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 10 15:36:50 UTC 2020
xrdb.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 9c51a2829f65ea03ef87376ca9561037d9262f6d
Author: Tobias Stoeckmann <tobias at stoeckmann.org>
Date: Sun Jun 7 19:56:43 2020 +0200
Fix out of boundary read.
If a binary file which starts with 0x00 is edited, xrdb performs
an off-by-one read outside of its buffer.
The fix is simple: Do not try to append an empty string to buffer,
which would be a no-op anyway.
Proof of Concept (compile with -fsanitize=address):
$ dd if=/dev/zero bs=1 count=1 of=poc.txt
$ xrdb -edit poc.txt
Signed-off-by: Tobias Stoeckmann <tobias at stoeckmann.org>
More information about the xorg-commit
mailing list