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

mPad越界问题 #4

Open
RolleXXX opened this issue Mar 29, 2023 · 0 comments
Open

mPad越界问题 #4

RolleXXX opened this issue Mar 29, 2023 · 0 comments

Comments

@RolleXXX
Copy link

char mPad[2];
memset(mPad, 0, mSize - 20);
mPad是一个大小为2的数组,现在用memset给他填入了mSize-20个0,这不会导致数组越界吗

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

1 participant