SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
misc/memcached/patches/patch-t_issue_192_t
Normal file
20
misc/memcached/patches/patch-t_issue_192_t
Normal file
|
@ -0,0 +1,20 @@
|
|||
Test case for CVE-2011-4971
|
||||
https://github.com/memcached/memcached/commit/6695ccbc525c36d693aaa3e8337b36aa0c784424
|
||||
|
||||
--- t/issue_192.t.orig Mon Apr 28 07:51:18 2014
|
||||
+++ t/issue_192.t Mon Jul 14 11:38:18 2014
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
use strict;
|
||||
use Test::More tests => 2;
|
||||
+use Test::MockSleep;
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/lib";
|
||||
use MemcachedTest;
|
||||
@@ -15,6 +16,3 @@ print $sock "\x80\x12\x00\x01\x08\x00\x00\x00\xff\xff\
|
||||
|
||||
sleep 0.5;
|
||||
ok($server->new_sock, "failed to open new socket");
|
||||
-
|
||||
-
|
||||
-
|
Loading…
Add table
Add a link
Reference in a new issue