mirror of
https://github.com/bol-van/zapret2.git
synced 2026-10-29 14:09:23 +00:00
zapret-antidpi: oob error if char > 1 symbol
This commit is contained in:
1 parent
aa13a1f5d2
commit
201dd40b46
1 file changed
+3
@@ -1087,6 +1087,9 @@ function oob(ctx, desync)
|
||||
end
|
||||
else
|
||||
local oob = desync.arg.char or (desync.arg.byte and bu8(desync.arg.byte) or nil) or "\x00"
|
||||
if #oob>1 then
|
||||
error("oob: OOB must be exactly one byte")
|
||||
end
|
||||
local dis_oob = deepcopy(desync.dis)
|
||||
local urp
|
||||
if not desync.arg.urp or desync.arg.urp=='b' then
|
||||
|
||||
Reference in new issue
Block a user