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

Avoid integer overflow in dhcp renewal #8154

Merged
merged 1 commit into from
Jul 30, 2018
Merged

Avoid integer overflow in dhcp renewal #8154

merged 1 commit into from
Jul 30, 2018

Conversation

hickeng
Copy link
Member

@hickeng hickeng commented Jul 25, 2018

This ensures that we do not get an integer overflow after 64 contiguous
failures to renew a DHCP lease. That was resulting in a divide-by-zero
and, depending on how the runtime handling went, a silent exit or a panic.

It's unconfirmed whether it fixes #7680 but may well do so.

Related: #7680
Fixes: #8112

This ensures that we do not get an integer overflow after 64 contiguous
failures to renew a DHCP lease. That was resulting in a divide-by-zero
and, depending on how the runtime handling went, a silent exit or a panic.
@hickeng hickeng requested a review from a team as a code owner July 25, 2018 00:11
@hickeng hickeng merged commit c119a8a into vmware:master Jul 30, 2018
zjs pushed a commit to zjs/vic that referenced this pull request Aug 6, 2018
This ensures that we do not get an integer overflow after 64 contiguous
failures to renew a DHCP lease. That was resulting in a divide-by-zero
and, depending on how the runtime handling went, a silent exit or a panic.

(cherry picked from commit c119a8a)
hickeng pushed a commit that referenced this pull request Aug 6, 2018
This ensures that we do not get an integer overflow after 64 contiguous
failures to renew a DHCP lease. That was resulting in a divide-by-zero
and, depending on how the runtime handling went, a silent exit or a panic.

(cherry picked from commit c119a8a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

critical target error message on VCH console Endpoint becomes unresponsive after several hours
4 participants