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

Fix crash on sector buffer invalidation after writing to device #148

Open
wants to merge 1 commit into
base: v2.1.3
Choose a base branch
from

Conversation

Konamiman
Copy link
Owner

@Konamiman Konamiman commented Jan 25, 2025

This pull request fixes a bug that was introduced when FAT16 support was introduced in the CORRECT_BUF routine. When a buffer had to be invalidated after a write, the pointer to the buffer in the buffer chain had been corrupted, and the process eventually caused a crash.

This is difficult to test but some people has reported it being reproduced while using the AKID text editor. See also #142.

Closes #142

@Konamiman Konamiman self-assigned this Jan 25, 2025
@Konamiman Konamiman added this to the v2.1.3 milestone Jan 25, 2025
@Konamiman Konamiman changed the base branch from v2.1 to v2.1.3 January 25, 2025 18:46
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

Successfully merging this pull request may close these issues.

Nextor crashes when rewriting a file with longer length and crossing a 512-byte boundary in akid (at least)
1 participant