Commit d4998032 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix another heap-use-after-free bug

parent 894783f5
......@@ -1798,6 +1798,13 @@ static int session_prep_frame(nghttp2_session *session,
return framerv;
}
if(framerv < 0) {
rv = nghttp2_stream_detach_data(stream, &session->ob_pq,
session->last_cycle);
if(nghttp2_is_fatal(rv)) {
return rv;
}
return framerv;
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment