diff options
author | wm4 <nfxjfg@googlemail.com> | 2014-03-21 18:51:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-21 20:32:09 +0100 |
commit | 76c8fbc5f22c4a93c08030b10e5dbbd4e0c4dd68 (patch) | |
tree | 138ab2d977677b97399854a23b9a93d7797c1b2a /libavcodec/rv30dsp.c | |
parent | 2fd14f062cfc52db1529a46b53a26b06cb418f55 (diff) | |
download | ffmpeg-76c8fbc5f22c4a93c08030b10e5dbbd4e0c4dd68.tar.gz |
http: never send 'Cookie: (null)' to the server
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.
This also avoids passing NULL to libc string functions, which is
undefined behavior
Fixes Ticket2180
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rv30dsp.c')
0 files changed, 0 insertions, 0 deletions