mirror of
https://github.com/CPunch/Laika.git
synced 2026-02-08 01:00:05 +00:00
Lib: Variadic packets now use the 'size' field as a minimum requirement
This commit is contained in:
@@ -128,7 +128,7 @@ struct sLaika_peerPacketInfo laikaC_botPktTbl[LAIKAPKT_MAXNONE] = {
|
||||
false),
|
||||
LAIKA_CREATE_PACKET_INFO(LAIKAPKT_SHELL_DATA,
|
||||
laikaC_handleShellData,
|
||||
0,
|
||||
sizeof(uint32_t), /* packet must be bigger than this */
|
||||
true),
|
||||
};
|
||||
|
||||
@@ -144,7 +144,7 @@ struct sLaika_peerPacketInfo laikaC_authPktTbl[LAIKAPKT_MAXNONE] = {
|
||||
false),
|
||||
LAIKA_CREATE_PACKET_INFO(LAIKAPKT_SHELL_DATA,
|
||||
laikaC_handleAuthenticatedShellData,
|
||||
0,
|
||||
sizeof(uint32_t), /* packet must be bigger than this */
|
||||
true),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user