diff --git a/lsteamclient/steamclient_main.c b/lsteamclient/steamclient_main.c index c6898e58..344473a5 100644 --- a/lsteamclient/steamclient_main.c +++ b/lsteamclient/steamclient_main.c @@ -40,6 +40,9 @@ unsigned int steamclient_unix_path_to_dos_path(bool api_result, const char *src, WCHAR *dosW; uint32 r; + if(!dst || !dst_bytes) + return 0; + if(!src || !api_result){ *dst = 0; return 0;