summaryrefslogtreecommitdiffstats
path: root/server/red_memslots.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-03-30 18:03:33 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-04-02 12:14:55 +0200
commit2439c0dc90bcfd83d3e0eb4f08f19ef2face2118 (patch)
tree592ba41d257212ab839fa24422f57449e9570b70 /server/red_memslots.c
parent8cd92109d42db45fd5b3aa9674b2148550ffe17b (diff)
downloadspice-2439c0dc90bcfd83d3e0eb4f08f19ef2face2118.tar.gz
spice-2439c0dc90bcfd83d3e0eb4f08f19ef2face2118.tar.xz
spice-2439c0dc90bcfd83d3e0eb4f08f19ef2face2118.zip
Replace sprintf with snprintf use
The hotkey parser was generating a string with sprintf and data it got from the controller socket (ie data which can have an arbitrary length). Using sprintf there is a bad idea, replace it with snprintf.
Diffstat (limited to 'server/red_memslots.c')
0 files changed, 0 insertions, 0 deletions