View CVE-2016-10517
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/redis.c | 23 +++++++++++++++++++++++ | |
src/redis.h | 1 + | |
2 files changed, 24 insertions(+) | |
diff --git a/src/redis.c b/src/redis.c | |
index 6fdc2f6..1ae1b8b 100644 | |
--- a/src/redis.c | |
+++ b/src/redis.c | |
@@ -273,6 +273,8 @@ struct redisCommand redisCommandTable[] = { | |
{"pfcount",pfcountCommand,-2,"w",0,NULL,1,1,1,0,0}, |
View connectx.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ | |
lib/system/fastopen.c | 4 ++-- | |
2 files changed, 41 insertions(+), 2 deletions(-) | |
diff --git a/configure.ac b/configure.ac | |
index e81ff8970..b25778a83 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -127,6 +127,45 @@ case "$host" in | |
AC_MSG_CHECKING([whether the linker supports -Wl,-no_weak_imports]) |
View service.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <netinet/in.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> | |
#include <netdb.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <service.h> | |
int compute(char part[12], int base) { |
View test.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opendht.h> | |
#include <vector> | |
int main() | |
{ | |
dht::DhtRunner node; | |
// Launch a dht node on a new thread, using a | |
// generated RSA key pair, and listen on port 4222. | |
node.run(4222, dht::crypto::generateIdentity(), true); |
View Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker run --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --net host -it --privileged --device /dev/video0:/dev/video0 ring | |
FROM ubuntu:17.10 | |
LABEL maintainer="Sébastien Blin <sebastien.blin@savoirfairelinux.com>" | |
# Install system tools needed | |
RUN apt-get update -y \ | |
&& apt-get install git python3 -y | |
# Clone ring-project |
View config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"users": { | |
}, | |
"debug": true, | |
"host": "irc.freenode.net", | |
"follow_all": { | |
}, | |
"port": 6697, | |
"nick": "NICKNAME", | |
"ssl": true, |