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

Fixed a gcc-7-strict-warnings issue. #3026

Conversation

bernd-edlinger
Copy link
Member

GCC-7 assumes len can be negative, and emits a warning here.
It can be fixed by moving the memcpy in to the if block.
This is the same as this function works on master.

@dot-asm dot-asm added branch: 1.0.2 Merge to OpenSSL_1_0_2-stable branch approval: done This pull request has the required number of approvals labels Mar 24, 2017
@levitte
Copy link
Member

levitte commented Mar 24, 2017

@dot-asm, I assume this can go to all active branches, not just the 1.0.2 one. @bernd-edlinger seems to work mainly from the 1.0.2 branch, though...

@levitte
Copy link
Member

levitte commented Mar 24, 2017

Never mind, I just discovered I assumed wrong

levitte pushed a commit that referenced this pull request Mar 25, 2017
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from #3026)
@dot-asm
Copy link
Contributor

dot-asm commented Mar 25, 2017

Merged. Thanks!

@dot-asm dot-asm closed this Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: done This pull request has the required number of approvals branch: 1.0.2 Merge to OpenSSL_1_0_2-stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants