diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2012-01-21 14:43:07 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-01-27 05:50:16 +0000 |
commit | c455d17c09f797055ec52afc25e8735c72d00ca0 (patch) | |
tree | 775583134d9b3772bc1ec444607dde3183288ea3 /hw/e1000.c | |
parent | 36945d95d249eda5536bf1683f0bee1a358c7642 (diff) | |
download | qemu-c455d17c09f797055ec52afc25e8735c72d00ca0.zip qemu-c455d17c09f797055ec52afc25e8735c72d00ca0.tar.gz qemu-c455d17c09f797055ec52afc25e8735c72d00ca0.tar.bz2 |
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