Browse Source

Refresh patch queue

Christoph Biedl 5 years ago
parent
commit
e41822f010

+ 2 - 2
debian/patches/catch-caplen-exceed.patch

@@ -18,5 +18,5 @@ Last-Update: 2017-06-12
 +            }
 +            }
 +
 +
              /* read the frame */
              /* read the frame */
-             if ((ret = read(fd, &buf, caplen)) != caplen) {
-                 if (ret < 0) {
+             maxread = min((size_t)caplen, sizeof(buf));
+             if ((ret = read(fd, &buf, maxread)) != maxread) {

+ 2 - 2
debian/patches/disable-tcpreplay-test.patch

@@ -4,8 +4,8 @@ Forwarded: not-needed
 
 
 --- a/test/Makefile.am
 --- a/test/Makefile.am
 +++ b/test/Makefile.am
 +++ b/test/Makefile.am
-@@ -36,7 +36,7 @@
- 		test2.rewrite_mac_seed_keep test2.rewrite_l7fuzzing
+@@ -41,7 +41,7 @@
+ 		test2.rewrite_l7fuzzing test2.rewrite_sequence
  
  
  test: all
  test: all
 -all: clearlog check tcpprep tcpreplay tcprewrite
 -all: clearlog check tcpprep tcpreplay tcprewrite