werkamsus/Lilith

[Info] CreateThread Function Handling Issues

gy741 opened this issue · 1 comments

gy741 commented

Hello.

In the area where the CreateThread function is used, there appears to be no appropriate exception if the Return value occurs Null.

What do you think?

client.cpp:165
general.cpp:303
Server/server.cpp:37
Server/server.cpp:42
Server/server.cpp:334

CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)PacketSenderThread, NULL, NULL, NULL); //Create thread that will manage all outgoing packets

Thanks.

Fixed by @czs108 in 76b5511