diff --git a/app/nginx-1.11.10/src/event/modules/ngx_ff_module.c b/app/nginx-1.11.10/src/event/modules/ngx_ff_module.c index 48045097..bbcce876 100644 --- a/app/nginx-1.11.10/src/event/modules/ngx_ff_module.c +++ b/app/nginx-1.11.10/src/event/modules/ngx_ff_module.c @@ -325,6 +325,16 @@ recv(int sockfd, void *buf, size_t len, int flags) return SYSCALL(recv)(sockfd, buf, len, flags); } +ssize_t +__recv_chk (int fd, void *buf, size_t n, size_t buflen, int flags) +{ +/* + if (n > buflen) + __chk_fail (); +*/ + return recv (fd, buf, n, flags); +} + int listen(int sockfd, int backlog) {