Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/netbsd-8]: xsrc/external/mit/libX11/dist/modules/im/ximcp Apply patch, ...
details: https://anonhg.NetBSD.org/xsrc/rev/4cb12a6b14ab
branches: netbsd-8
changeset: 10641:4cb12a6b14ab
user: martin <martin%NetBSD.org@localhost>
date: Mon Dec 07 20:20:15 2020 +0000
description:
Apply patch, requested by maya in ticket #1634:
external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c (patch)
PR 55640: fix off by one in X Input Method.
diffstat:
external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 176d2ae33267 -r 4cb12a6b14ab external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c
--- a/external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c Mon Dec 07 19:29:26 2020 +0000
+++ b/external/mit/libX11/dist/modules/im/ximcp/imRmAttr.c Mon Dec 07 20:20:15 2020 +0000
@@ -1407,7 +1407,7 @@
*names_len = 0;
while (total > min_len) {
len = attr[2];
- if (len >= (total - min_len)) {
+ if (len > (total - min_len)) {
return 0;
}
*names_len += (len + 1);
Home |
Main Index |
Thread Index |
Old Index