We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a418d commit 592b294Copy full SHA for 592b294
1 file changed
rust/src/krb/krb5.rs
@@ -522,8 +522,8 @@ unsafe extern "C" fn krb5_parse_request_tcp(
522
if state.parse(cur_i, flow, Direction::ToServer) < 0 {
523
return AppLayerResult::err();
524
}
525
- state.record_ts = 0;
526
cur_i = &cur_i[state.record_ts..];
+ state.record_ts = 0;
527
} else {
528
// more fragments required
529
state.defrag_buf_ts.extend_from_slice(cur_i);
@@ -580,8 +580,8 @@ unsafe extern "C" fn krb5_parse_response_tcp(
580
if state.parse(cur_i, flow, Direction::ToClient) < 0 {
581
582
583
- state.record_tc = 0;
584
cur_i = &cur_i[state.record_tc..];
+ state.record_tc = 0;
585
586
587
state.defrag_buf_tc.extend_from_slice(cur_i);
0 commit comments