Commit 5fb37aa4 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

urlmon: Avoid accessing an uninitialized variable in a TRACE in validate_path.

parent 0fb718a6
......@@ -3810,7 +3810,7 @@ static HRESULT validate_path(const UriBuilder *builder, parse_data *data, DWORD
if(!valid || (check_len && expected_len != data->path_len)) {
TRACE("(%p %p %x): Invalid path component %s.\n", builder, data, flags,
debugstr_wn(component, expected_len));
debugstr_wn(component, check_len ? expected_len : -1) );
return INET_E_INVALID_URL;
}
......
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