mirror of
https://github.com/RGBCube/serenity
synced 2026-01-14 07:01:00 +00:00
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 | ||