diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-06-27 14:49:02 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-06-27 14:49:02 +0200 |
commit | 8b4da71374a8b260057f8424f08e009df65c3f1e (patch) | |
tree | 80059fa66a4b9ade3f502de5350741eb34e6f7bd /src | |
parent | ddd868d44f84035c1cf75b9a9b72c9df94a99a2d (diff) | |
download | fastd-8b4da71374a8b260057f8424f08e009df65c3f1e.tar fastd-8b4da71374a8b260057f8424f08e009df65c3f1e.zip |
Fix critical memory corruption bug in core
Diffstat (limited to 'src')
-rw-r--r-- | src/fastd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index 80476b7..6a326fb 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -601,7 +601,7 @@ static void handle_resolv_returns(fastd_context *ctx) { } static void handle_input(fastd_context *ctx) { - struct pollfd fds[3]; + struct pollfd fds[4]; fds[0].fd = ctx->tunfd; fds[0].events = POLLIN; fds[1].fd = ctx->sockfd; |