forked from metin2/server
Fixed off-by-one buffer overrun in map_allow_copy() function which would lead to malformed initialization network packets. Added address sanitizer in db CMake.
This commit is contained in:
@@ -37,7 +37,7 @@ extern bool g_bTrafficProfileOn; ///< true
|
||||
extern BYTE g_bChannel;
|
||||
|
||||
extern bool map_allow_find(int index);
|
||||
extern void map_allow_copy(LONG * pl, int size);
|
||||
extern void map_allow_copy(int * pl, int size);
|
||||
extern bool no_wander;
|
||||
|
||||
extern int g_iUserLimit;
|
||||
|
Reference in New Issue
Block a user