-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[libxcrypt] fix compile error due to bad array length #41697
base: master
Are you sure you want to change the base?
Conversation
issue: #41695 |
Submit the patch upstream. Make the port build without |
Negative, initializing the array with larger length is dangerous. without -Werror is just hide the problem not solve it |
Well, I said upstream it. It was added in besser82/libxcrypt@f7bf4fa. Maybe this was also meant to change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The source code is modified and needs to be submitted to the upstream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since a variable in the source code was modified, please submit this fix upstream.
ce4ab1a
to
b07da79
Compare
I converted this to draft because we need upstream to look. Please feel free to mark 'ready for review' after either upstream has responded, or 30 days, whichever is first. Alternately, change the patch to remove the |
Fixes #41695
./vcpkg x-add-version --all
and committing the result.