We are either allocating 2 or three array members. Unroll while loop
authorflorian <florian@openbsd.org>
Mon, 1 Jan 2018 08:55:43 +0000 (08:55 +0000)
committerflorian <florian@openbsd.org>
Mon, 1 Jan 2018 08:55:43 +0000 (08:55 +0000)
commitff71d78866fbff3eb37f13bc1a32d895c969809d
tree575f2544ca70760c2146da976e772719506ade82
parente077ec8ce2c7df6fca68aa047f26af43a0eea3ce
We are either allocating 2 or three array members. Unroll while loop
to be able to call free(9) with sizes.

off-by-one pointed out by guenther
OK visa
sys/kern/exec_script.c