ports/www/mod_fastcgi/files/patch-fcgi_protocol.c
Jochen Neumeister f52512fba7 www:mod_fastcgi: Update to 2.4.7.1
The website of fastcgi has been down for a long time.
The project is now in a GitHub archive: https://github.com/FastCGI-Archives

Also switch to GitHub with www/mod_fastcgi

Changelog:
*) cast from pointer to integer of different size fix
*) fix prinf %d warning
*) .cvsignore to .gitignore
*) apache 2.4 compile fix

- While I am here, use "make makepatch" for the patches in /files

Approved by:	brnrd (apache)
With hat:	apache
Sponsored by:	Netzkommune GmbH
Differential Revision:	https://reviews.freebsd.org/D18471
2018-12-14 13:57:09 +00:00

11 lines
673 B
C

--- fcgi_protocol.c.orig 2017-03-29 21:11:44 UTC
+++ fcgi_protocol.c
@@ -475,7 +475,7 @@ int fcgi_protocol_dequeue(pool *p, fcgi_request *fr)
ap_log_rerror(FCGI_LOG_ERR_NOERRNO, fr->r,
"FastCGI: comm with server \"%s\" aborted: protocol error: "
"invalid FCGI_END_REQUEST size: "
- "%d != sizeof(FCGI_EndRequestBody)(%ld)",
+ "%d != sizeof(FCGI_EndRequestBody)(%zu)",
fr->fs_path, fr->dataLen, sizeof(FCGI_EndRequestBody));
return HTTP_INTERNAL_SERVER_ERROR;
}