Fix crash

This commit is contained in:
Tatsuhiro Tsujikawa 2014-01-23 21:25:49 +09:00
parent 1f4577adb9
commit 6540ac1bab
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ static void nghttp2_inbound_frame_reset(nghttp2_session *session)
nghttp2_frame_window_update_free(&iframe->frame.window_update);
break;
}
memset(&iframe->frame, 0, sizeof(nghttp2_frame));
iframe->state = NGHTTP2_RECV_HEAD;
iframe->payloadlen = iframe->buflen = iframe->off = 0;
iframe->headbufoff = 0;