qemu-e2k/qga
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
..
installer
vss-win32
channel-posix.c sockets: remove obsolete code that updated listen address 2017-12-21 09:22:44 +01:00
channel-win32.c
channel.h
commands-posix.c use g_path_get_basename instead of basename 2018-03-06 14:01:29 +01:00
commands-win32.c qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
commands.c qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
guest-agent-command-state.c
guest-agent-core.h Include qmp-commands.h exactly where needed 2018-02-09 13:52:10 +01:00
main.c qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
Makefile.objs qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
qapi-schema.json
service-win32.c
service-win32.h
vss-win32.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
vss-win32.h