Skip to content

add an error for large JSON file#132

Merged
matyalatte merged 1 commit intomainfrom
large_json
Feb 21, 2026
Merged

add an error for large JSON file#132
matyalatte merged 1 commit intomainfrom
large_json

Conversation

@matyalatte
Copy link
Owner

Tuw only reads the first 128kb to prevent unexpected issues. It now shows an error: JSON file should be smaller than 128KB. with large files.

Note

Old versions of tuw have no security issue because they take the large JSON as broken files and show other errors.

@matyalatte matyalatte added the enhancement New feature or request label Feb 21, 2026
@matyalatte matyalatte merged commit f5e1903 into main Feb 21, 2026
11 checks passed
@matyalatte matyalatte deleted the large_json branch February 21, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant