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

test #68

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

test #68

wants to merge 4 commits into from

Conversation

namjaejeon
Copy link
Owner

No description provided.

valid_size should not be greater than size and need to check if
start_clu is invalid cluster. This patch add the check to return -EIO.

Signed-off-by: Namjae Jeon <[email protected]>
Remove double assignment in exfat_find.

Signed-off-by: Namjae Jeon <[email protected]>
There is no check if stream size and start_clu are invalid.
If start_clu is EOF cluster and stream size is 4096, It will cause
uninit value access. because ei->hint_femp.eidx could be 128(if cluster
size is 4K) and wrong hint will allocate next cluster. and this cluster
will be same with the cluster that is allocated by
exfat_extend_valid_size(). The previous patch will check invalid start_clu,
but for clarity, Initialize hint_femp.eidx to zero.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
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.

1 participant