Xinqi Bao's Git

arg.h: fixed argv checks order
authorLucas Gabriel Vuotto <[email protected]>
Fri, 19 Feb 2016 18:59:49 +0000 (15:59 -0300)
committerChristoph Lohmann <[email protected]>
Sun, 21 Feb 2016 16:21:41 +0000 (17:21 +0100)
commit4fdba860c8db70035e9749806ecc6ca2d7c418d0
tree4a1044d94fd378bedc1d338c8f9f1d89183e7573
parent6d636beb229cebf3b897446c72c7a341bee9f820
arg.h: fixed argv checks order

This prevents accessing to a potentially out-of-bounds memory section.

Signed-off-by: Lucas Gabriel Vuotto <[email protected]>
Signed-off-by: Christoph Lohmann <[email protected]>
arg.h