mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-29 21:40:52 +03:00
nfqws: memleak fix
This commit is contained in:
parent
2cbb497cb7
commit
076397eb99
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0
binaries/win64/windivert32.lib
Normal file
0
binaries/win64/windivert32.lib
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -22,6 +22,11 @@
|
|||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
#include <wlanapi.h>
|
#include <wlanapi.h>
|
||||||
#include <netlistmgr.h>
|
#include <netlistmgr.h>
|
||||||
|
|
||||||
|
#ifndef ERROR_INVALID_IMAGE_HASH
|
||||||
|
#define ERROR_INVALID_IMAGE_HASH __MSABI_LONG(577)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint32_t net32_add(uint32_t netorder_value, uint32_t cpuorder_increment)
|
uint32_t net32_add(uint32_t netorder_value, uint32_t cpuorder_increment)
|
||||||
|
@ -1774,10 +1774,8 @@ static uint8_t dpi_desync_udp_packet_play(bool replay, size_t reasm_offset, uint
|
|||||||
if (ctrack_replay->hostname_ah_check)
|
if (ctrack_replay->hostname_ah_check)
|
||||||
{
|
{
|
||||||
// first request is not retrans
|
// first request is not retrans
|
||||||
if (ctrack_replay->hostname)
|
if (!bDiscoveredHostname)
|
||||||
process_retrans_fail(ctrack_replay, IPPROTO_UDP, (struct sockaddr*)&src);
|
process_retrans_fail(ctrack_replay, IPPROTO_UDP, (struct sockaddr*)&src);
|
||||||
else
|
|
||||||
ctrack_replay->hostname=strdup(host);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DLOG("not applying tampering to this request\n");
|
DLOG("not applying tampering to this request\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user