* Fix #2425 Character variable lengths and char-server Medium term fox for crash on char-serv caused by too long character variable. Add few error msg and safety. Add npc/test/npc_test_longvar.txt as a basic test. NB: The config.in for max_colum size if not really set as best would either retrive that value from sql, or use the same config file to actually set the sql column size... May be handle later with some kind of hibernate ORM. Thanks to @Tokeiburu, @aleos89, @Lemongrass3110.
This commit is contained in:
@@ -1947,4 +1947,6 @@ unsigned int *script_array_cpy_list(struct script_array *sa);
|
||||
void queryThread_log(char * entry, int length);
|
||||
#endif
|
||||
|
||||
bool script_check_RegistryVariableLength(int pType, const char *val, size_t* vlen);
|
||||
|
||||
#endif /* _SCRIPT_HPP_ */
|
||||
|
||||
Reference in New Issue
Block a user