summaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-06-18 18:27:03 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-06-30 22:58:55 +0200
commit449041d4db1f82f281fe097e832f07cd9ee1e864 (patch)
treec5b190cace7dc0d7b1f60fe6aebc87a1d399d0e9 /target-mips
parentb373a63a2eb3a8354de2f75670484bd98966ccb4 (diff)
downloadqemu-449041d4db1f82f281fe097e832f07cd9ee1e864.tar.gz
qdev-properties: Fix (u)intXX parsers
scanf calls must not use PRI constants, they have probably the wrong size and corrupt memory. We could replace them by SCN ones, but strtol is simpler than scanf here anyway. While at it, also fix the parsers to reject garbage after the number ("4096xyz" was accepted before). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Richard Henderson <rth@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips')
0 files changed, 0 insertions, 0 deletions