diff options
author | Tim Deegan <tim@xen.org> | 2013-09-12 13:09:35 +0100 |
---|---|---|
committer | Tim Deegan <tim@xen.org> | 2013-09-12 17:48:01 +0100 |
commit | cadbe2f9e768585fad52156be2433d49ec9feaf1 (patch) | |
tree | 69c75ce65cf501133e5b251f1e9fdd3fd648c2bf /tools/libxl | |
parent | e58015acaf53b179847db94524fb2a9f4399b5e6 (diff) | |
download | xen-cadbe2f9e768585fad52156be2433d49ec9feaf1.tar.gz xen-cadbe2f9e768585fad52156be2433d49ec9feaf1.tar.bz2 xen-cadbe2f9e768585fad52156be2433d49ec9feaf1.zip |
acpi/pmstat: fix check for empty name strings.
These 'name' strings are actually arrays in their structs. So the
address is never NULL: instead, we should check the first character to
detect cases where the field wasn't initialized.
Coverity CID 1055633
Signed-off-by: Tim Deegan <tim@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'tools/libxl')
0 files changed, 0 insertions, 0 deletions