]> Git Repo - qemu.git/commit
qdev-property: Make bit property parsing stricter
authorJan Kiszka <[email protected]>
Sat, 21 Jan 2012 13:43:07 +0000 (14:43 +0100)
committerStefan Hajnoczi <[email protected]>
Fri, 27 Jan 2012 05:50:16 +0000 (05:50 +0000)
commitc455d17c09f797055ec52afc25e8735c72d00ca0
tree775583134d9b3772bc1ec444607dde3183288ea3
parent36945d95d249eda5536bf1683f0bee1a358c7642
qdev-property: Make bit property parsing stricter

By using strncasecmp, we allow for arbitrary characters after the
"on"/"off" string. Fix this by switching to strcasecmp.

Reviewed-by: Andreas Färber <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/qdev-properties.c
This page took 0.024185 seconds and 4 git commands to generate.