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

mtp-responder: If the size of file is greater than 4 gigabytes, recving will never finished on macOS #13

Conversation

JianyuWang0623
Copy link
Member

@JianyuWang0623 JianyuWang0623 commented Jan 6, 2025

Summary

  1. If the size of file is greater than 4 gigabytes, recving will never finished on macOS.
    The ftemp_st.file_size is 0xffffffff and the ftemp_st.real_file_size is 0x0.
  2. Will get incorrect file size from SendObjectInfo when size of data is larger than 4GB

Impact

mtp-responder

Testing

CI

…ng will never finished on macOS

The ftemp_st.file_size is 0xffffffff and the ftemp_st.real_file_size is 0x0.

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
…size of data is larger than 4GB

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit c54ab44 into open-vela:dev Jan 6, 2025
3 checks passed
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.

2 participants