Browse Source

nfqws: remove duplicate check

pull/98/head
bol-van 3 years ago
parent
commit
0887fe6f2a
  1. 4
      nfq/protocol.c

4
nfq/protocol.c

@ -469,9 +469,6 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz
pos += tvb_get_varint(clean+pos, &sz);
if ((pos+sz)>clean_len) return false;
if (ft==6)
{
if ((offset+sz)>defrag_data_len) return false;
if (zeropos < offset)
// make sure no uninitialized gaps exist in case of not full fragment coverage
@ -481,7 +478,6 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz
memcpy(defrag_data+offset,clean+pos,sz);
if ((offset+sz) > szmax) szmax = offset+sz;
found=true;
}
pos+=sz;
}

Loading…
Cancel
Save