mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
Merge branch 'master' of github.com:cloudwu/skynet
This commit is contained in:
@@ -435,7 +435,7 @@ static int
|
||||
lpack(lua_State *L) {
|
||||
size_t len;
|
||||
const char * ptr = tolstring(L, &len, 1);
|
||||
if (len > 0x10000) {
|
||||
if (len >= 0x10000) {
|
||||
return luaL_error(L, "Invalid size (too long) of data : %d", (int)len);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user