For hz=1000 any number, greater than 4194 causes integer overflow; this change casts the number to uint64_t before operating with it.
Details
Details
- Reviewers
adrian - Commits
- rS296393: net80211: fix possible overflow in IEEE80211_TU_TO_TICKS()
Should be reproducible with:
beacon interval: 300
beacon miss threshold: 15
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable