Page MenuHomeFreeBSD

net80211: fix possible overflow in IEEE80211_TU_TO_TICKS()
ClosedPublic

Authored by avos on Feb 13 2016, 9:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 24, 4:07 AM
Unknown Object (File)
Mon, Mar 23, 12:41 PM
Unknown Object (File)
Sat, Mar 14, 3:05 PM
Unknown Object (File)
Fri, Mar 6, 8:41 PM
Unknown Object (File)
Tue, Feb 24, 1:20 AM
Unknown Object (File)
Feb 22 2026, 10:30 PM
Unknown Object (File)
Feb 21 2026, 4:31 AM
Unknown Object (File)
Feb 20 2026, 5:13 AM
Subscribers

Details

Summary

For hz=1000 any number, greater than 4194 causes integer overflow; this change casts the number to uint64_t before operating with it.

Test Plan

Should be reproducible with:
beacon interval: 300
beacon miss threshold: 15

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

avos retitled this revision from to net80211: fix possible overflow in IEEE80211_TU_TO_TICKS().
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added a reviewer: adrian.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
adrian edited edge metadata.
This revision is now accepted and ready to land.Mar 4 2016, 1:36 AM
This revision was automatically updated to reflect the committed changes.