Skip to content

Commit

Permalink
rust/nfs: remove debug rec_size check
Browse files Browse the repository at this point in the history
Records larger than 40k are perfectly valid.

Bug #2162.
  • Loading branch information
victorjulien committed Jul 10, 2017
1 parent 62b6f9f commit 7c25a2d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rust/src/nfs/nfs.rs
Expand Up @@ -1327,7 +1327,6 @@ impl NFSState {
//SCLogDebug!("rec_size {}/{}", rec_size, cur_i.len());
//SCLogDebug!("cur_i {:?}", cur_i);

if rec_size > 40000 { panic!("invalid rec_size"); }
if rec_size > cur_i.len() {
// special case: avoid buffering file write blobs
// as these can be large.
Expand Down

0 comments on commit 7c25a2d

Please sign in to comment.