mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
1a0eed705c
Just casting a void* to a T* and dereferencing it is not particularly safe. Also UBSAN was complaining. Use memcpy into a default constructed T instead and require that the T be trivially copyable. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DHCPv4.cpp | ||
DHCPv4.h | ||
DHCPv4Client.cpp | ||
DHCPv4Client.h | ||
main.cpp |