JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Avoid buffer overrun in bpress()
[st.git] / st.c
diff --git a/st.c b/st.c
index 9df6707..50b58a7 100644 (file)
--- a/st.c
+++ b/st.c
@@ -256,9 +256,9 @@ typedef struct {
 } XWindow;
 
 typedef struct {
-       int b;
+       uint b;
        uint mask;
-       char s[ESC_BUF_SIZ];
+       char *s;
 } Mousekey;
 
 typedef struct {