Browse Source

nfqws: fix uninitialized pointer crash

pull/696/head
bol-van 5 months ago
parent
commit
e0f8ff06b9
  1. BIN
      binaries/aarch64/nfqws
  2. BIN
      binaries/arm/nfqws
  3. BIN
      binaries/freebsd-x64/dvtws
  4. BIN
      binaries/mips32r1-lsb/nfqws
  5. BIN
      binaries/mips32r1-msb/nfqws
  6. BIN
      binaries/mips64r2-msb/nfqws
  7. BIN
      binaries/ppc/nfqws
  8. BIN
      binaries/win32/ip2net.exe
  9. BIN
      binaries/win32/killall.exe
  10. BIN
      binaries/win32/mdig.exe
  11. BIN
      binaries/win32/winws.exe
  12. BIN
      binaries/win64/winws.exe
  13. BIN
      binaries/x86/nfqws
  14. BIN
      binaries/x86_64/nfqws
  15. 3
      nfq/desync.c

BIN
binaries/aarch64/nfqws

Binary file not shown.

BIN
binaries/arm/nfqws

Binary file not shown.

BIN
binaries/freebsd-x64/dvtws

Binary file not shown.

BIN
binaries/mips32r1-lsb/nfqws

Binary file not shown.

BIN
binaries/mips32r1-msb/nfqws

Binary file not shown.

BIN
binaries/mips64r2-msb/nfqws

Binary file not shown.

BIN
binaries/ppc/nfqws

Binary file not shown.

BIN
binaries/win32/ip2net.exe

Binary file not shown.

BIN
binaries/win32/killall.exe

Binary file not shown.

BIN
binaries/win32/mdig.exe

Binary file not shown.

BIN
binaries/win32/winws.exe

Binary file not shown.

BIN
binaries/win64/winws.exe

Binary file not shown.

BIN
binaries/x86/nfqws

Binary file not shown.

BIN
binaries/x86_64/nfqws

Binary file not shown.

3
nfq/desync.c

@ -849,7 +849,7 @@ static uint8_t dpi_desync_tcp_packet_play(bool replay, size_t reasm_offset, uint
size_t fake_size;
char host[256];
bool bHaveHost=false;
uint8_t *p, *phost;
uint8_t *p, *phost=NULL;
const uint8_t *rdata_payload = data_payload;
size_t rlen_payload = len_payload;
size_t split_pos;
@ -1097,7 +1097,6 @@ static uint8_t dpi_desync_tcp_packet_play(bool replay, size_t reasm_offset, uint
}
ttl_fake = (ctrack_replay && ctrack_replay->autottl) ? ctrack_replay->autottl : (ip6hdr ? (dp->desync_ttl6 ? dp->desync_ttl6 : ttl_orig) : (dp->desync_ttl ? dp->desync_ttl : ttl_orig));
if ((l7proto == HTTP) && (dp->hostcase || dp->hostnospace || dp->domcase) && HttpFindHost(&phost,data_payload,len_payload))
{
if (dp->hostcase)

Loading…
Cancel
Save