fix(stomp): fix parsing rear frame split byte crash

fix: https://github.com/emqx/emqx/issues/6693
This commit is contained in:
JianBo He 2022-01-11 14:46:20 +08:00
parent 43442577ae
commit 9aa178b51d
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ g(Key, Opts, Val) ->
parse(<<>>, Parser) ->
{more, Parser};
parse(Bytes, #{phase := body, len := Len, state := State}) ->
parse(Bytes, #{phase := body, length := Len, state := State}) ->
parse(body, Bytes, State, Len);
parse(Bytes, Parser = #{pre := Pre}) ->