aboutsummaryrefslogtreecommitdiff
path: root/vgafont.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2011-11-22 09:46:05 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-28 16:20:52 -0600
commite36b369577784ac59a7d74725368eec66f23ad52 (patch)
tree1727b595d7ddcd7558ef7a7a16b7d49fbda19b9d /vgafont.h
parent45009a3087b4acd8b1c91fcd0b1ee723ac3b0aec (diff)
qemu-img: Tighten parsing of size arguments
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 "qemu-img create xxx 1024," and "qemu-img convert -S '1024 junk'" are now caught. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vgafont.h')
0 files changed, 0 insertions, 0 deletions