- 28 Jun, 2024 1 commit
-
-
wind2009 authored
-
- 26 Jun, 2024 2 commits
-
-
mercury233 authored
-
nanahira authored
-
- 18 Jun, 2024 2 commits
-
-
Chen Bill authored
* use local var in ServerEchoRead, ClientRead * zero init in GetResponse
- 09 Jun, 2024 2 commits
- 03 Jun, 2024 12 commits
- 02 Jun, 2024 3 commits
- 31 May, 2024 3 commits
-
-
Chen Bill authored
-
Chen Bill authored
* use memcpy in DuelClient, NetServer * NetServer: discard too large packet * DuelClient: discard too large packet * replace memcpy with std::memcpy * disconnect when the packet is too large * check packet_len * check len in HandleCTOSPacket() * check len in HandleSTOCPacketLan() * remove bool type in HostInfo * check len in packet handling * add boundary check to STOC_CHAT packet * use memcpy in DuelMode::JoinGame * add DECK_MAX_SIZE, DECK_MIN_SIZE * fix DuelMode::UpdateDeck() * fix * fix Manager::OpenDeckFile() * update DuelMode init * update DuelMode::JoinGame * update DuelMode::GetResponse * Revert "check len in packet handling" This reverts commit 2b5c12f3. * use memcpy in GetPosition * check struct size by static_assert * update DuelMode::UpdateDeck * check if the struct is trivially copyable * replace unsigned short to uint16_t * replace unsigned int to uint32_t * add padding member to STOC_HS_PlayerEnter * workaround: use STOC_HS_PlayerEnter_size
-
Chen Bill authored
-
- 25 May, 2024 2 commits
- 21 May, 2024 5 commits
-
-
Chen Bill authored
-
mercury233 authored
-
Chen Bill authored
* use std::memcpy in class Replay * remove pointer casting
-
Chen Bill authored
* check sizeof(wchar_t) * EncodeUTF8: use unsigned operand * DecodeUTF8: use unsigned operand * EncodeUTF8: check array size * DecodeUTF8: check array size * replace sprintf with snprintf * zero initialize * remove outdated macro * remove outdated macro in clzma
-
mercury233 authored
-
- 14 May, 2024 4 commits
- 13 May, 2024 3 commits
- 12 May, 2024 1 commit
-
-
Chen Bill authored
* use memcpy in bufferio.h * include * use std::memcpy * use BufferIO Read/Write * use fixed width integer * include <cstdint>
-