surf

My custom build of surf web browser
Log | Files | Refs | README | LICENSE

commit 4b752834d82bc879e412d8eda5e54474b86f36fd
parent ac837f43b965b2d2f58e52149dde4dc2c297a8c1
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sun, 23 Apr 2017 18:25:40 +0200

Fix possible oob access of cmd in newwindow()

Thanks to tarug0 for spotting this!

Diffstat:
Msurf.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/surf.c b/surf.c @@ -817,7 +817,7 @@ newwindow(Client *c, const Arg *a, int noembed) { int i = 0; char tmp[64]; - const char *cmd[26], *uri; + const char *cmd[27], *uri; const Arg arg = { .v = cmd }; cmd[i++] = argv0;