From 2d08d3040960586083f31c4a132badaa16673ac0 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 3 Nov 2013 17:46:10 +0900 Subject: [PATCH] nghttp2_hd: Fix crash --- lib/nghttp2_hd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nghttp2_hd.c b/lib/nghttp2_hd.c index bdfa16aa..92d6fe27 100644 --- a/lib/nghttp2_hd.c +++ b/lib/nghttp2_hd.c @@ -460,7 +460,7 @@ static int emit_indname_header(nghttp2_hd_context *context, if(rv != 0) { return rv; } - if(NGHTTP2_HD_FLAG_VALUE_GIFT) { + if(flags & NGHTTP2_HD_FLAG_VALUE_GIFT) { return track_decode_buf(context, value); } return 0;