mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Fix segfault when giving invalid long option to pkg_info.
PR: bin/133473 Submitted by: Rafal Grodzinski Approved by: ed (mentor) MFC after: 1 week
This commit is contained in:
parent
74fb0ba732
commit
75cf69394b
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ static struct option longopts[] = {
|
|||
{ "verbose", no_argument, NULL, 'v' },
|
||||
{ "version", no_argument, NULL, 'P' },
|
||||
{ "which", required_argument, NULL, 'W' },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue