artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876a82a
)
Always zero-out the fcgi record header for STDIN data.
author
reyk
<reyk@openbsd.org>
Wed, 6 Aug 2014 18:40:15 +0000
(18:40 +0000)
committer
reyk
<reyk@openbsd.org>
Wed, 6 Aug 2014 18:40:15 +0000
(18:40 +0000)
OK florian@
usr.sbin/httpd/server_fcgi.c
patch
|
blob
|
history
diff --git
a/usr.sbin/httpd/server_fcgi.c
b/usr.sbin/httpd/server_fcgi.c
index
08fd6e1
..
4c1c856
100644
(file)
--- a/
usr.sbin/httpd/server_fcgi.c
+++ b/
usr.sbin/httpd/server_fcgi.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: server_fcgi.c,v 1.2
4 2014/08/06 18:38:11
reyk Exp $ */
+/* $OpenBSD: server_fcgi.c,v 1.2
5 2014/08/06 18:40:15
reyk Exp $ */
/*
* Copyright (c) 2014 Florian Obser <florian@openbsd.org>
@@
-358,6
+358,7
@@
fcgi_add_stdin(struct client *clt, struct evbuffer *evbuf)
{
struct fcgi_record_header h;
+ memset(&h, 0, sizeof(h));
h.version = 1;
h.type = FCGI_STDIN;
h.id = htons(1);