Dr. David Alan Gilbert f95cc8b6cc slirp/smb: Replace constant strings by glib string
gcc 7 (on fedora 26) objects to many of the snprintf's
in the smb path and command creation because it can't
figure out that the smb_dir (i.e. the /tmp dir for the configuration)
is known to be short.

Replace all these fixed length buffers by g_str* functions that dynamically
allocate and use g_dir_make_tmp to make the directory.
(It's fairly new glib but we have a compat function for it).

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2017-04-29 18:29:58 +02:00
..
2017-01-20 10:36:38 +08:00
2017-03-06 11:46:02 +08:00
2016-07-19 20:18:02 +02:00
2017-03-06 11:46:02 +08:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-02-04 17:41:30 +00:00
2016-10-26 09:57:59 +08:00
2017-01-20 14:56:40 +00:00
2016-02-04 17:41:30 +00:00
2016-02-23 12:43:05 +00:00
2016-07-19 20:18:02 +02:00
2017-02-28 19:11:15 +00:00