aboutsummaryrefslogtreecommitdiff
path: root/hw/e1000.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2012-01-21 14:43:07 +0100
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-01-27 05:50:16 +0000
commitc455d17c09f797055ec52afc25e8735c72d00ca0 (patch)
tree775583134d9b3772bc1ec444607dde3183288ea3 /hw/e1000.c
parent36945d95d249eda5536bf1683f0bee1a358c7642 (diff)
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 <afaerber@suse.de> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/e1000.c')
0 files changed, 0 insertions, 0 deletions