Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/test



Module Name:    src
Committed By:   christos
Date:           Thu May 24 18:47:08 UTC 2007

Modified Files:
        src/bin/test: test.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 src/bin/test/test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index