st
simple terminal
git clone https://9o.is/git/st.git
commit 54a56963de63dfba58819103a0f1d5e13629155c parent 30d451d14c2c75e3d23b6dab6d6cd36f6aa03677 Author: Mark Edgar <medgar123@gmail.com> Date: Sun, 6 Oct 2013 12:19:12 +0200 Avoid buffer overrun in bpress() Use correct type for Mousekey.b (XButtonEvent.button). Diffstat:
| M | st.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 {