aboutsummaryrefslogtreecommitdiff
path: root/kconfig/lxdialog
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-06-03 15:15:57 -0700
committerRob Landley <rob@landley.net>2021-06-04 03:25:47 -0500
commit0842ada4d6982f1b4c06a1bf08403961ca95f0bc (patch)
tree1f00b95a3b6f4fdca0f1958d8e55760924ab4933 /kconfig/lxdialog
parentd02da4ec606c82108a589826730eefb01c5ca2ed (diff)
downloadtoybox-0842ada4d6982f1b4c06a1bf08403961ca95f0bc.tar.gz
modprobe: fix parsing of short lines.
The intent here seems to have been to ignore lines with too few arguments to be valid, but since strtok() returns NULL at the end of the string, if you only have "verb noun", you'd be falsely rejected. Since we've kept a count anyway, just check the count.
Diffstat (limited to 'kconfig/lxdialog')
0 files changed, 0 insertions, 0 deletions