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

Saved captures with long names can't be loaded #90

Open
Lathe26 opened this issue Dec 25, 2023 · 2 comments
Open

Saved captures with long names can't be loaded #90

Lathe26 opened this issue Dec 25, 2023 · 2 comments

Comments

@Lathe26
Copy link

Lathe26 commented Dec 25, 2023

When saving a capture (STORAGE -> SAVE CAPTURE) with name that has 27 characters in it, the final 'p' in '.bmp' is truncated off. This results in STORAGE -> LOAD CAPTURE not being able to see it. For example, when typing in a file name of 0123456789012345678901234567, it will be saved as 0123456789012345678901234567.bm instead of as 0123456789012345678901234567.bmp.

@erikkaashoek
Copy link
Owner

There is insufficient memory for long file names.

@Lathe26
Copy link
Author

Lathe26 commented Jan 10, 2024

Understood that there are file name length limits.

However, the off-by-one bug still should be fixed. Just change the max name length from 27 characters to 26 and the bug will be fixed.

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

No branches or pull requests

2 participants