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

Text lists cannot have more than 32767 elements #358

Open
klehmann opened this issue Nov 23, 2022 · 2 comments
Open

Text lists cannot have more than 32767 elements #358

klehmann opened this issue Nov 23, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@klehmann
Copy link
Collaborator

We have a signed/unsigned short issue when text lists have more than 32767 entries.

@klehmann klehmann added the bug Something isn't working label Nov 23, 2022
@klehmann klehmann self-assigned this Nov 23, 2022
@klehmann
Copy link
Collaborator Author

Writing and reading the text list with more than 32767 items does work, but saving the doc produces an error "Document has invalid structure".

@klehmann
Copy link
Collaborator Author

Checked with core dev, they could reproduce the issue and created an SPR. The core code contains a check whether list entries * sizeof(WORD) < 65535 bytes, so the actual max value for the list entries is 16384. Will request and test a hotfix.

SWASCLNS3W: adding a textlist with > 16384 entries causing an err_doc_struct to be returned on noteupdate (with large summary enabled)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant