On Thu, Mar 30, 2017 at 09:33:48PM -0400, Micah Galizia wrote: > Signed-off-by: Micah Galizia <micahgali...@gmail.com> > --- > libavformat/Makefile | 1 + > libavformat/tests/http.c | 182 > +++++++++++++++++++++++++++++++++++++++++++++ > tests/fate/libavformat.mak | 5 ++ > tests/ref/fate/http | 30 ++++++++ > 4 files changed, 218 insertions(+) > create mode 100644 libavformat/tests/http.c > create mode 100644 tests/ref/fate/http
the test segfaults 'good=not_expired; domain=.test.com; path=/; expires=Fri, 12 Mar 2117 02:53:03 GMT; HttpOnly'->'expires'|'Fri, 12 Mar 2117 02:53:03 GMT' 'good=great'->'good'|'great' 0) 'first="good"; Domain=.test.com; Path=/ second=great; domain=.test.com; path=/; HttpOnly'=>'first="good"; second=great' Unable to parse 'expired="really_old"; Domain=.test.com; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Path=/' 1) 'expired="really_old"; Domain=.test.com; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Path=/ good=not_expired; domain=.test.com; path=/; expires=Fri, 12 Mar 2117 02:53:03 GMT; HttpOnly'=>'good=not_expired' Unable to parse 'expired="really_old"; Domain=.test.com; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/' 2) 'expired="really_old"; Domain=.test.com; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ neulion=not_expired; domain=.test.com; path=/; expires=Fri, 12-Mar-2117 02:53:03 GMT; HttpOnly'=>'neulion=not_expired' 3) 'no_day=still_ok; domain=.test.com; path=/; expires=12-Mar-2117 02:53:03 GMT; HttpOnly'=>'no_day=still_ok' 4) 'unparsable_date=allow_cookie; domain=.test.com; path=/; expires=12-Mur-2117 02:53:03 GMT; HttpOnly'=>'unparsable_date=allow_cookie' 5) 'different_domain=exclude; domain=.nottest.com; path=/; expires=12-Mar-2117 02:53:03 GMT; HttpOnly'=>'(null)' Program received signal SIGSEGV, Segmentation fault. 0x00007ffff5851166 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff5851166 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x000000000041197c in test_get_cookies () at libavformat/tests/http.c:97 #2 0x000000000041056b in main () at libavformat/tests/http.c:173 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Concerning the gods, I have no means of knowing whether they exist or not or of what sort they may be, because of the obscurity of the subject, and the brevity of human life -- Protagoras
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel