[FFmpeg-devel] [PATCH 1/3] http: never send 'Cookie: (null)' to the server
Reimar.Doeffinger at gmx.de
Fri Mar 21 19:07:21 CET 2014
On 21.03.2014, at 18:51, wm4 <nfxjfg at googlemail.com> wrote:
> If a domain has some cookies set, but matching the cookie fails due to
> the port being different, get_cookies() succeeds, but sets cookies to
> NULL. The caller of get_cookies() didn't check for the NULL value.
Note: in some libc implementations this will not just send a bad string, but will actually crash.
NULL is not valid to pass as %s argument.
More information about the ffmpeg-devel