Skip to content

Cherry-pick: Avoid integer overflow in dhcp renewal (#8154)#8178

Merged
hickeng merged 1 commit intovmware:releases/1.4.3from
zjs:cherry/c119a8a
Aug 6, 2018
Merged

Cherry-pick: Avoid integer overflow in dhcp renewal (#8154)#8178
hickeng merged 1 commit intovmware:releases/1.4.3from
zjs:cherry/c119a8a

Conversation

@zjs
Copy link
Member

@zjs zjs commented 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)

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)
@zjs zjs self-assigned this Aug 6, 2018
@zjs zjs requested a review from hickeng August 6, 2018 18:14
@hickeng hickeng merged commit e2924ce into vmware:releases/1.4.3 Aug 6, 2018
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.

4 participants