Re: [hackers][sbase][PATCH] arg.h: fixed argv checks order

2016-02-21 Thread Christoph Lohmann
Greetings. On Sun, 21 Feb 2016 17:21:56 +0100 Lucas Gabriel Vuotto wrote: > Hello, > > this is a small fix for arg.h where it's possible to perform an > out-of-boundary memory access in argv's internal string. In particular, > this is a fix for sbase's arg.h, but I've also seen it in st repo,

Re: [hackers][sbase][PATCH] arg.h: fixed argv checks order

2016-02-19 Thread Hiltjo Posthuma
On Fri, Feb 19, 2016 at 8:43 PM, Lucas Gabriel Vuotto wrote: > this is a small fix for arg.h where it's possible to perform an > out-of-boundary memory access in argv's internal string. In particular, this > is a fix for sbase's arg.h, but I've also seen it in st repo, and I suppose > that this "b

[hackers][sbase][PATCH] arg.h: fixed argv checks order

2016-02-19 Thread Lucas Gabriel Vuotto
uckless' repo which uses arg.h . Cheers. -- lv. >From 439ba086ea3163f91088deff5a87a6b46009c1ba Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Vuotto Date: Fri, 19 Feb 2016 15:59:49 -0300 Subject: [hackers][sbase][PATCH] arg.h: fixed argv checks order To: hackers@suckless.org This prevents ac