pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e57732
)
Avoid buffer overrun in bpress()
author
Mark Edgar
<medgar123@gmail.com>
Sun, 6 Oct 2013 10:19:12 +0000
(12:19 +0200)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Tue, 15 Oct 2013 15:46:17 +0000
(17:46 +0200)
Use correct type for Mousekey.b (XButtonEvent.button).
st.c
patch
|
blob
|
history
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;
+
u
int b;
uint mask;
- char
s[ESC_BUF_SIZ]
;
+ char
*s
;
} Mousekey;
typedef struct {