FFmpeg/libavformat
wm4 76c8fbc5f2 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>
2014-03-21 20:32:09 +01:00
..
2013-10-13 20:13:38 +00:00
2013-10-18 19:53:47 +02:00
2013-12-25 17:14:32 +01:00
2014-03-06 00:30:27 +01:00
2013-10-06 19:36:53 +02:00
2013-12-13 11:57:39 +01:00
2013-10-13 20:13:38 +00:00
2014-01-16 00:38:27 +01:00
2014-02-28 00:07:31 +01:00
2013-12-25 17:38:29 +01:00
2014-03-16 23:31:29 +01:00
2014-03-16 23:31:29 +01:00
2013-12-23 16:28:44 +01:00
2014-03-11 13:22:49 +01:00
2013-10-13 20:13:38 +00:00
2013-10-31 20:20:49 +01:00
2013-12-25 17:38:29 +01:00
2013-11-13 22:56:18 +01:00
2013-12-25 17:38:29 +01:00
2014-02-24 02:24:21 +01:00
2014-02-05 22:36:42 +01:00
2014-02-09 14:29:07 +00:00
2013-10-13 20:13:38 +00:00
2014-03-09 18:09:39 +01:00
2013-12-25 17:38:29 +01:00
2013-12-25 17:38:30 +01:00
2014-03-04 22:54:13 +01:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2014-03-08 12:36:57 +01:00
2013-10-21 17:32:01 +02:00
2013-10-13 20:13:38 +00:00
2014-01-08 23:56:05 +01:00
2013-10-13 20:13:38 +00:00