Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase array and string max size #40

Open
luser-dr00g opened this issue Aug 31, 2016 · 0 comments
Open

Increase array and string max size #40

luser-dr00g opened this issue Aug 31, 2016 · 0 comments

Comments

@luser-dr00g
Copy link
Owner

Currently, xpost does not allocate an ent number for zero-sized array. And it uses a 16bit field for sizes of array and string objects. The underlying memory system can handle 32bit sizes.

So, we can interpret size=0 to be size=0x10000 iff the ent is not 0. This increases the maximum size of strings and arrays and dicts to 65536.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant