diff options
| author | christos <christos@NetBSD.org> | 2007-05-24 18:47:08 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2007-05-24 18:47:08 +0000 |
| commit | 35d9d3fddf5227181c54932ea99d28d32be7aae7 (patch) | |
| tree | 8e302d8c20adc4786625fe05bdd14614fa44ea17 /sys/dev/microcode | |
| parent | 41d09357f2800fc5b5e574c5a2417c1f43e0f28d (diff) | |
Make sure we don't run over the end of the argument array while scanning
for input. This can happen if we have a unary not without an argument. When
we scan for the argument, we are already at the NULL element of the argument
array. Then when we scan ahead for a -a or -o, we end up testing the next
element after the NULL.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
