Skip to content
Commit ab886a5a authored by Alexander Dahl's avatar Alexander Dahl Committed by David Oberhollenzer
Browse files

ubihealthd: Add missing sentinel in options array



`getopt_long()` requires a null terminated array, otherwise we get
segfaults when passing invalid options.

Fixes: 7f0e2dc2 ("ubi-utils: Implement a ubihealthd")
Signed-off-by: default avatarAlexander Dahl <post@lespocky.de>
Acked-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
parent 3fd38416
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment