Commit f5b485bd authored by Laurent Aimar's avatar Laurent Aimar

* mmstu: fixed 1 buffer overflow.

parent 9d44913e
...@@ -585,7 +585,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto ) ...@@ -585,7 +585,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
psz[i] = p[i]; \ psz[i] = p[i]; \
} \ } \
psz[size] = '\0'; \ psz[size] = '\0'; \
p += 2 * ( size ); \ p += ( size ); \
} }
GETUTF16( p_sys->psz_server_version, i_server_version ); GETUTF16( p_sys->psz_server_version, i_server_version );
GETUTF16( p_sys->psz_tool_version, i_tool_version ); GETUTF16( p_sys->psz_tool_version, i_tool_version );
......
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