Source code: https://github.com/bagder/gw-mac
If you have working IPv6 addresses in your Windows. Working as in you can communicate with other machines over it.
$ git clone https://github.com/bagder/gw-mac.git
/*************************************************************************** | |
* _ _ ____ _ | |
* Project ___| | | | _ \| | | |
* / __| | | | |_) | | | |
* | (__| |_| | _ <| |___ | |
* \___|\___/|_| \_\_____| | |
* | |
* Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. | |
* | |
* This software is licensed as described in the file COPYING, which |
#!/bin/sh | |
./maketgz 7.55.0-test | |
tar xf curl-7.55.0-test.tar.gz | |
cd curl-7.55.0-test | |
./configure --prefix=/tmp/curl-remove | |
make -sj | |
make install | |
ls /tmp/curl-remove/share/man/man3/ |
#!/usr/bin/perl | |
# un-preprocessed _changes-file as input | |
require "./vuln.pm"; | |
sub vernum { | |
my ($ver)=@_; | |
my @v = split('\.', $ver); | |
return ($v[0] << 16) | ($v[1] << 8) | $v[2]; |
Source code: https://github.com/bagder/gw-mac
If you have working IPv6 addresses in your Windows. Working as in you can communicate with other machines over it.
$ git clone https://github.com/bagder/gw-mac.git
# install the basics | |
sudo apt install autoconf automake libtool libssl-dev libssh2-1-dev libz-dev libnghttp2-dev libpsl-dev | |
mkdir $HOME/src | |
cd $HOME/src | |
git clone https://github.com/curl/curl.git | |
cd curl | |
./buildconf | |
./configure --enable-debug --enable-maintainer-mode --disable-shared |
#include <stdio.h> | |
#include <string.h> | |
#include <curl/curl.h> | |
#include <curl/mprintf.h> | |
#define RUNS 10000000 | |
/*#define curl_msnprintf snprintf*/ |
/*************************************************************************** | |
* _ _ ____ _ | |
* Project ___| | | | _ \| | | |
* / __| | | | |_) | | | |
* | (__| |_| | _ <| |___ | |
* \___|\___/|_| \_\_____| | |
* | |
* Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. | |
* | |
* This software is licensed as described in the file COPYING, which |
diff --git a/lib/transfer.c b/lib/transfer.c | |
index fd9af3155..b5614f55f 100644 | |
--- a/lib/transfer.c | |
+++ b/lib/transfer.c | |
@@ -715,11 +715,11 @@ static CURLcode readwrite_data(struct Curl_easy *data, | |
/* If it returned OK, we just keep going */ | |
} | |
#endif /* CURL_DISABLE_HTTP */ | |
/* Account for body content stored in the header buffer */ |