summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/http/ngx_http_spdy.c
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2014-03-29 16:41:05 +0000
committerrobert <robert@openbsd.org>2014-03-29 16:41:05 +0000
commit3d034e33c289ba8b5442422c5388c8ee62bf6cd7 (patch)
treea7f0d0aaf7325ef33df3cbc7be3d6365c873ed72 /usr.sbin/nginx/src/http/ngx_http_spdy.c
parentDo not play with the xmapmode register, for its layout seems to differ between (diff)
downloadwireguard-openbsd-3d034e33c289ba8b5442422c5388c8ee62bf6cd7.tar.xz
wireguard-openbsd-3d034e33c289ba8b5442422c5388c8ee62bf6cd7.zip
bugfix and security update to 1.4.7:
CVE-2014-0133 does not affect OpenBSD because SPDY is not enabled ok florian@
Diffstat (limited to 'usr.sbin/nginx/src/http/ngx_http_spdy.c')
-rw-r--r--usr.sbin/nginx/src/http/ngx_http_spdy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nginx/src/http/ngx_http_spdy.c b/usr.sbin/nginx/src/http/ngx_http_spdy.c
index f4f610a8227..99afbfca180 100644
--- a/usr.sbin/nginx/src/http/ngx_http_spdy.c
+++ b/usr.sbin/nginx/src/http/ngx_http_spdy.c
@@ -1465,7 +1465,7 @@ static u_char *
ngx_http_spdy_state_save(ngx_http_spdy_connection_t *sc,
u_char *pos, u_char *end, ngx_http_spdy_handler_pt handler)
{
-#if (NGX_DEBUG)
+#if 1
if (end - pos > NGX_SPDY_STATE_BUFFER_SIZE) {
ngx_log_error(NGX_LOG_ALERT, sc->connection->log, 0,
"spdy state buffer overflow: "