mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Fix some Double Free and uninitialized Memory in Switch
This commit is contained in:
parent
fc58e83e9c
commit
0b6e479e0b
3 changed files with 6 additions and 9 deletions
|
@ -24,7 +24,7 @@ class DiscoveryManager
|
|||
struct sockaddr * host_addr = nullptr;
|
||||
size_t host_addr_len = 0;
|
||||
uint32_t GetIPv4BroadcastAddr();
|
||||
bool service_enable;
|
||||
bool service_enable = false;
|
||||
|
||||
public:
|
||||
typedef enum hoststate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue