Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/ctwm/dist modStr needs to be 6 characters to ...
details: https://anonhg.NetBSD.org/xsrc/rev/7c019b55e23f
branches: trunk
changeset: 10107:7c019b55e23f
user: roy <roy%NetBSD.org@localhost>
date: Wed Feb 06 16:38:23 2019 +0000
description:
modStr needs to be 6 characters to avoid overflow.
diffstat:
external/mit/ctwm/dist/menus.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f386df4301c9 -r 7c019b55e23f external/mit/ctwm/dist/menus.c
--- a/external/mit/ctwm/dist/menus.c Sun Feb 03 17:11:49 2019 +0000
+++ b/external/mit/ctwm/dist/menus.c Wed Feb 06 16:38:23 2019 +0000
@@ -1532,7 +1532,7 @@
if (menu == Scr->Keys) {
FuncKey *tmpKey;
char *tmpStr, *tmpStr2;
- char modStr[5];
+ char modStr[6];
char *oldact = 0;
int oldmod = 0;
int tmpLen;
Home |
Main Index |
Thread Index |
Old Index