diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-20 20:29:15 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-23 13:10:54 +0100 |
commit | d4ba4ee690aeb72b86c5342c77a54b5a1a185975 (patch) | |
tree | 746a0cb2d63eb7f003ea90a1963bf0aee3fd1bd3 /client/red_client.h | |
parent | a7d3f1de82e90da869775e8306e0dba7d95bd597 (diff) | |
download | spice-d4ba4ee690aeb72b86c5342c77a54b5a1a185975.tar.gz spice-d4ba4ee690aeb72b86c5342c77a54b5a1a185975.tar.xz spice-d4ba4ee690aeb72b86c5342c77a54b5a1a185975.zip |
Use spice_strdup() to avoid crashing on NULL
qemu can call spice_server_set_name(s, NULL) when the name is not
given. Let's not crash in this case
Diffstat (limited to 'client/red_client.h')
0 files changed, 0 insertions, 0 deletions