diff options
author | Rob Landley <rob@landley.net> | 2015-05-03 12:41:05 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-05-03 12:43:58 -0500 |
commit | 5640acb50da707b404e00e9a20ba3fb3ec334a91 (patch) | |
tree | c7383f1a8ee39c0f2b0d33ca03bc69e2b22040b0 /main.c | |
parent | 38a5493031bca46263038964a8f5b188d7e9304e (diff) | |
download | toybox-5640acb50da707b404e00e9a20ba3fb3ec334a91.tar.gz |
If a shortopt is configured out right before a bare longopt, the option parsing infrastructure segfaults because there's no next shortopt but the list isn't empty. (There was a test for this, but we're simultaneously traversing two lists and it was testing the wrong one.)
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions