1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/net80211
Andriy Voskoboinyk 5a6b5f3c69 net80211: fix possible overflow in IEEE80211_TU_TO_TICKS()
For hz=1000 any number, greater than 4194 causes integer overflow;
this change casts the number to uint64_t before operating with it.

Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D5268
2016-03-04 21:22:11 +00:00
..
_ieee80211.h
ieee80211_acl.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_action.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_action.h
ieee80211_adhoc.c net80211: eliminate copy-paste nearby ieee80211_check_rxseq() 2016-03-01 06:47:21 +00:00
ieee80211_adhoc.h
ieee80211_ageq.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_ageq.h
ieee80211_alq.c
ieee80211_alq.h
ieee80211_amrr.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_amrr.h
ieee80211_crypto_ccmp.c
ieee80211_crypto_none.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_crypto_tkip.c
ieee80211_crypto_wep.c
ieee80211_crypto.c
ieee80211_crypto.h
ieee80211_ddb.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_dfs.c
ieee80211_dfs.h
ieee80211_freebsd.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_freebsd.h net80211: fix a comment for TX lock 2016-02-28 23:52:33 +00:00
ieee80211_hostap.c net80211: eliminate copy-paste nearby ieee80211_check_rxseq() 2016-03-01 06:47:21 +00:00
ieee80211_hostap.h
ieee80211_ht.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_ht.h
ieee80211_hwmp.c
ieee80211_input.c Use m_catpkt(9) to avoid a possible use-after-free in ieee80211_defrag(). 2016-03-02 05:01:58 +00:00
ieee80211_input.h net80211: eliminate copy-paste nearby ieee80211_check_rxseq() 2016-03-01 06:47:21 +00:00
ieee80211_ioctl.c net80211: fix 'taskqueue_drain with non-sleepable locks held' warning 2016-02-28 23:35:03 +00:00
ieee80211_ioctl.h
ieee80211_mesh.c net80211: eliminate copy-paste nearby ieee80211_check_rxseq() 2016-03-01 06:47:21 +00:00
ieee80211_mesh.h
ieee80211_monitor.c
ieee80211_monitor.h
ieee80211_node.c net80211: fix TIM cleanup. 2016-02-23 21:11:42 +00:00
ieee80211_node.h
ieee80211_output.c net80211: wakeup scan_start() task when null data frame was actually 2016-02-29 20:56:02 +00:00
ieee80211_phy.c
ieee80211_phy.h net80211: remove hardcoded slot time durations from drivers 2015-12-13 20:48:24 +00:00
ieee80211_power.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_power.h
ieee80211_proto.c net80211: fix scanning after D5145 (PR 197498 related) 2016-02-29 21:09:09 +00:00
ieee80211_proto.h
ieee80211_radiotap.c
ieee80211_radiotap.h
ieee80211_ratectl_none.c
ieee80211_ratectl.c
ieee80211_ratectl.h
ieee80211_regdomain.c
ieee80211_regdomain.h
ieee80211_rssadapt.c
ieee80211_rssadapt.h
ieee80211_scan_sta.c net80211: do not enforce promiscuous mode for AP scan 2016-02-29 21:17:39 +00:00
ieee80211_scan_sw.c Fix !IEEE80211_DEBUG build. 2016-02-29 23:09:31 +00:00
ieee80211_scan_sw.h
ieee80211_scan.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211_scan.h
ieee80211_sta.c net80211: drop <smth> -> INIT state transition warning (STA mode only) 2016-03-03 19:53:46 +00:00
ieee80211_sta.h
ieee80211_superg.c
ieee80211_superg.h
ieee80211_tdma.c
ieee80211_tdma.h
ieee80211_var.h net80211: fix possible overflow in IEEE80211_TU_TO_TICKS() 2016-03-04 21:22:11 +00:00
ieee80211_wds.c net80211: eliminate copy-paste nearby ieee80211_check_rxseq() 2016-03-01 06:47:21 +00:00
ieee80211_wds.h
ieee80211_xauth.c These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
ieee80211.c net80211: remove redundant locking. 2016-02-28 23:48:34 +00:00
ieee80211.h net80211: add few missing subtype names. 2016-02-19 05:59:38 +00:00