# Patch #14 for x3270 3.2.18.
# Fixes a crash when event tracing is on, and a key is input with the
# high-order bit set, but the low-order 7 bits are less than 32.

--- x3270-3.2/util.c	2001/12/22 05:28:13	1.16
+++ x3270-3.2/util.c	2002/02/27 17:38:58
@@ -125,7 +125,7 @@
 	char *dst = buf;
 
 	while ((c = *s++) && len > 0) {
-		char cbuf[4];
+		char cbuf[5];
 		char *t = cbuf;
 
 		/* Expand this character. */
