diff options
author | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2010-10-28 12:05:45 +0100 |
---|---|---|
committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2010-10-28 12:05:45 +0100 |
commit | a07b5b8acd4a86f87937891f03f71a57c3cd0880 (patch) | |
tree | 32a0d96514d97fc7d7a9aae18c2234acb80299b5 /stubdom/Makefile | |
parent | 1e346e3f47660883cf7618b8a62831b04b81ddce (diff) | |
download | xen-a07b5b8acd4a86f87937891f03f71a57c3cd0880.tar.gz xen-a07b5b8acd4a86f87937891f03f71a57c3cd0880.tar.bz2 xen-a07b5b8acd4a86f87937891f03f71a57c3cd0880.zip |
libxl: Fix format string abuses / vulnerabilities
There are a few places where libxl__xs_write is passed a variable
value to write to xenstore, but the semantics are that the first char*
is a format string. So use "%s".
This fixes the following errors reported by some newer compilers:
libxl.c: In function "libxl_create_cpupool":
libxl.c:3981: error: format not a string literal and no format arguments
libxl.c:3983: error: format not a string literal and no format arguments
libxl.c: In function "libxl_cpupool_movedomain":
libxl.c:4095: error: format not a string literal and no format arguments
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Diffstat (limited to 'stubdom/Makefile')
0 files changed, 0 insertions, 0 deletions