aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-11-22 09:46:03 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-28 16:20:52 -0600
commit961b42b9dc858936f32effc3f47c76b1c4e7de56 (patch)
tree069d555b4a2f983961ff61abf30cdd42552428da /target-i386
parentc03417b438624988f1a027ce7829696ac98c3165 (diff)
vl: Tighten parsing of -m argument
strtosz_suffix() fails unless the size is followed by 0, whitespace or ','. Useless here, because we need to fail for any junk following the size, even if it starts with whitespace or ','. Check manually. Things like "-m 1024," are now caught. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-i386')
0 files changed, 0 insertions, 0 deletions