Commit e2718603 authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Execute EOF when an error occurs while reading the chunk header (HTTP).

(cherry picked from commit c16b17c630c48c28a2f31629ff736e41cc789d73)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5e4b9d41
......@@ -783,7 +783,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
{
/* fatal error - end of file */
msg_Dbg( p_access, "failed reading chunk-header line" );
return 0;
goto fatal;
}
p_sys->i_chunk = strtoll( psz, NULL, 16 );
free( psz );
......
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