qemu-e2k/fsdev
Julia Suvorova 3e015d815b use g_path_get_basename instead of basename
basename(3) and dirname(3) modify their argument and may return
pointers to statically allocated memory which may be overwritten by
subsequent calls.
g_path_get_basename and g_path_get_dirname have no such issues, and
therefore more preferable.

Signed-off-by: Julia Suvorova <jusual@mail.ru>
Message-Id: <1519888086-4207-1-git-send-email-jusual@mail.ru>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-03-06 14:01:29 +01:00
..
9p-iov-marshal.c fsdev: don't allow unknown format in marshal/unmarshal 2017-05-25 10:30:13 +02:00
9p-iov-marshal.h
9p-marshal.c
9p-marshal.h
file-op-9p.h fsdev: improve error handling of backend init 2018-01-08 11:18:23 +01:00
Makefile.objs 9pfs: fix dependencies 2017-08-30 18:23:25 +02:00
qemu-fsdev-dummy.c
qemu-fsdev-opts.c 9pfs: local: Add support for custom fmode/dmode in 9ps mapped security modes 2017-06-29 15:11:50 +02:00
qemu-fsdev-throttle.c Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
qemu-fsdev-throttle.h Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
qemu-fsdev.c Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
qemu-fsdev.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
virtfs-proxy-helper.c use g_path_get_basename instead of basename 2018-03-06 14:01:29 +01:00
virtfs-proxy-helper.texi