mirror of
https://github.com/alrayyes/st.git
synced 2024-11-23 03:36:21 +00:00
Avoid buffer overrun in bpress()
Use correct type for Mousekey.b (XButtonEvent.button).
This commit is contained in:
parent
8e577322a3
commit
0f6942cdf6
1 changed files with 2 additions and 2 deletions
4
st.c
4
st.c
|
@ -256,9 +256,9 @@ typedef struct {
|
||||||
} XWindow;
|
} XWindow;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int b;
|
uint b;
|
||||||
uint mask;
|
uint mask;
|
||||||
char s[ESC_BUF_SIZ];
|
char *s;
|
||||||
} Mousekey;
|
} Mousekey;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in a new issue