summaryrefslogtreecommitdiffstats
path: root/server/red_memslots.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-03-20 16:07:22 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-03-20 16:53:50 +0100
commit64e0974114e4b7e5d737fdf1c19338751064fd0d (patch)
treecd1d0ce16c57815f35b35aabaf5b0ad0c3070601 /server/red_memslots.c
parent3d452a312be3ae1691e9ae310ca15072b04f67c9 (diff)
downloadspice-64e0974114e4b7e5d737fdf1c19338751064fd0d.tar.gz
spice-64e0974114e4b7e5d737fdf1c19338751064fd0d.tar.xz
spice-64e0974114e4b7e5d737fdf1c19338751064fd0d.zip
Don't truncate SPICE_FOREIGN_MENU_SOCKET
When we get the socket name for the foreign menu socket from an environment variable, we cannot make assumptions about its length. Currently, we are strncpying to a 50 byte buffer which is easily too small.
Diffstat (limited to 'server/red_memslots.c')
0 files changed, 0 insertions, 0 deletions