mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
allow small data as int64 again on state api
This commit is contained in:
@@ -1671,7 +1671,7 @@ DEFINE_HOOK_FUNCTION(
|
||||
if (kread_len < 1)
|
||||
return TOO_SMALL;
|
||||
|
||||
if (write_len < 1)
|
||||
if (write_len < 1 && write_ptr != 0)
|
||||
return TOO_SMALL;
|
||||
|
||||
if (!is_foreign && nread_len == 0)
|
||||
|
||||
Reference in New Issue
Block a user