We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
oss_upload_part_t *part_arr = NULL; ... ... // 这里存在溢出,应该为sizeof(oss_upload_part_t)。 part_arr = aos_palloc(parent_pool, OSS_MAX_PART_NUM * sizeof(oss_upload_part_t *)); ... ... oss_upload_part_t upload_part; part_arr[part_index++] = upload_part;
The text was updated successfully, but these errors were encountered:
sizeof(oss_upload_part_t *)=8 sizeof(oss_upload_part_t)=16
OSS_MAX_PART_NUM=10000,使用超过一半的时候就会踩坏内存了。
Sorry, something went wrong.
fix issue #96
1e4207f
No branches or pull requests
The text was updated successfully, but these errors were encountered: