instance: Warn about unexpected number of parameters
authorHauke Mehrtens <[email protected]>
Fri, 1 Nov 2019 16:16:39 +0000 (17:16 +0100)
committerJohn Crispin <[email protected]>
Sat, 2 Nov 2019 18:31:21 +0000 (19:31 +0100)
commitf47622e89c4d681a6441a3e51c0369f2baaaa1e6
tree645af2f893081d9eaffff7a1ca7111c46c118011
parent564ecdfd9cc40e3dd566bf8fd24a94053b99c332
instance: Warn about unexpected number of parameters

Warn when the number of allocated parameters for the jail argv does not
match the number of used parameters. This normally leads to a buffer
overflow.

Signed-off-by: Hauke Mehrtens <[email protected]>
service/instance.c