util: Fix stack corruption in the m5 util
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 7 Jan 2013 21:56:37 +0000 (16:56 -0500)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 7 Jan 2013 21:56:37 +0000 (16:56 -0500)
commit35be32b7ea9748cd061e01d5329e95dfafa4a2e1
tree12ced7852f98075b1b87b91c7c01abca0933a0ad
parent8a767885d658e4c52e1f81932426233aa1975ed8
util: Fix stack corruption in the m5 util

The number of arguments specified when calling parse_int_args() in
do_exit() is incorrect. This leads to stack corruption since it causes
writes past the end of the ints array.
util/m5/m5.c