Do not go past the end of the argv[] array.
authorMichael Brown <mcb30@etherboot.org>
Sun, 14 Jan 2007 02:01:26 +0000 (02:01 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 14 Jan 2007 02:01:26 +0000 (02:01 +0000)
commit98240d99f01edb9f211af4dfb5da53ea0d3b81e5
treea106a13bb8f86219dccd78c9965ab8605f392250
parent55e6d7b70c914a14fea1af32281a2250c166415e
Do not go past the end of the argv[] array.

This bug found by setting read and write watchpoints at NULL in bochs.
src/core/getopt.c