ffmpeg/libavformat
Michael Niedermayer 5970f4bb02 avformat/http: check the auth string contents not the pointer which cannot be NULL
It appears this bug originates from a "work in progress" patch from
ffmpeg-devel that was heavily redesigned by and integrated in libav

And that patch even had a reply and review on the mailing list pointing
out that it had a bug.

This fixes a deadlock with ffserver

See: [FFmpeg-devel] [PATCH] Fix HTTP authentication problem for POST actions.
     [FFmpeg-devel] [PATCH 1/3] Introduce auth_phase flag, which will be true if authorization needs to be sent, but the type of authorization is not known yet Partial fix #3036
     [FFmpeg-devel] [PATCH 2/3] Only add Transfer-Encoding header when not in authorization phase, because server will wait (indefinitely) for data when receiving this header Partial fix #3036
     [FFmpeg-devel] [PATCH 3/3] Only allow posting data and/or forcing a 200 code, enabling posting isml chunks, -after- we did a possible first request to get a 403 from the server telling us which type of authentication to apply Final part fix #3036
See: 71549a857b13edf4c4f95037de6ed5bb4c4bd4af
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14 01:35:28 +02:00
..
2013-03-17 04:38:28 +01:00
2013-05-10 16:10:52 -03:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-06-09 01:10:36 +02:00
2013-10-13 20:13:38 +00:00
2013-01-22 20:27:05 +01:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2012-12-04 11:25:46 +00:00
2012-12-04 11:25:46 +00:00
2013-10-13 20:13:38 +00:00
2013-04-08 14:15:10 +02:00
2013-10-12 20:21:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-06 19:36:53 +02:00
2012-11-24 15:04:32 +00:00
2012-10-18 00:55:03 +02:00
2012-11-19 10:19:50 +01:00
2013-10-13 20:13:38 +00:00
2013-06-28 09:04:16 +02:00
2013-01-01 19:29:04 +01:00
2013-10-13 20:13:38 +00:00
2012-10-10 15:50:32 +00:00
2012-12-05 20:18:04 +00:00
2013-01-24 15:02:44 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-06-29 18:02:37 +02:00
2012-12-21 00:18:34 +01:00
2013-10-13 20:13:38 +00:00
2013-06-20 21:49:02 +02:00
2013-09-18 14:10:05 -04:00
2013-09-21 15:36:33 +02:00
2012-12-05 13:01:22 +00:00
2012-12-05 13:01:22 +00:00
2013-10-13 20:13:38 +00:00
2013-05-24 15:36:54 +02:00
2013-07-02 18:52:45 +02:00
2013-10-13 20:13:38 +00:00
2013-09-21 03:26:54 +02:00
2013-06-15 18:50:11 -03:00
2013-07-07 18:50:03 +02:00
2013-10-13 20:13:38 +00:00
2013-09-21 15:36:33 +02:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-09-21 15:36:33 +02:00
2013-10-13 20:13:38 +00:00
2013-01-07 11:43:20 +00:00
2013-05-01 11:56:34 +02:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-05-18 07:12:56 +02:00
2013-10-13 20:13:38 +00:00
2012-08-28 22:29:20 +02:00
2013-09-21 15:36:33 +02:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2012-12-17 13:34:30 +01:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2012-12-28 21:50:42 +00:00
2012-12-28 21:58:03 +00:00
2013-05-26 15:48:50 +02:00
2013-08-05 10:14:42 +02:00
2012-12-16 10:27:54 +00:00
2013-10-13 20:13:38 +00:00
2013-04-05 14:30:56 +00:00
2012-10-15 08:12:25 +00:00
2013-08-21 05:51:41 +02:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2012-11-04 04:46:10 +00:00
2013-10-13 20:13:38 +00:00
2013-01-07 10:08:38 +00:00
2013-10-13 20:13:38 +00:00
2013-02-13 17:36:55 +00:00
2013-05-29 18:14:43 +00:00
2013-10-13 20:13:38 +00:00
2013-10-13 20:13:38 +00:00
2013-09-21 15:36:33 +02:00