reg: Avoid possible out-of-bounds memory access when a switch is only a forward slash...
commit7d962327b12cc0f07681fe46c8d4c5715faeb819
authorHugh McMaster <hugh.mcmaster@outlook.com>
Thu, 9 Jun 2016 05:48:29 +0000 (9 05:48 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 9 Jun 2016 09:26:43 +0000 (9 18:26 +0900)
tree91ae429d0a1cf0aaaeec50047bba35ac5fa72dbb
parenta88c35d0dc91b4f28baf656c65667f5ddff53ade
reg: Avoid possible out-of-bounds memory access when a switch is only a forward slash or hyphen.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
programs/reg/reg.c