Commit d7697bd5 authored by Jeff Latimer's avatar Jeff Latimer Committed by Alexandre Julliard

wininet: Ensure null check before dereference.

parent b530ac97
......@@ -50,7 +50,7 @@ time_t ConvertTimeString(LPCWSTR asctime)
struct tm t;
int timelen = strlenW(asctime);
if(!asctime || !timelen)
if(!timelen)
return 0;
/* FIXME: the atoiWs below rely on that tmpChar is \0 padded */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment