Commit graph

7 commits

Author SHA1 Message Date
Dalton Durst 2371a976e3 Fix invalid write in proc_get_ps_info
'str' in this context is a single-byte "buffer" in read-only memory.
This means that initializing 8723cs with  rtw_power_mgnt > 3 allows the
user to cause a kernel oops by reading /proc/net/rtl8723cs/[dev]/ps_info

Signed-off-by: Dalton Durst <dalton@ubports.com>
2020-06-27 10:57:41 +08:00
Ondrej Jirman 238f62cf18 8723cs: Port to Linux 5.8 2020-06-16 04:38:10 +08:00
Pascal de Bruijn f4b84229fa core: fix some misleading indentation 2019-07-24 17:57:48 +08:00
Icenowy Zheng 3fed0ea245 hide nolinked power save info
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2017-10-27 17:16:34 +08:00
Vasily Khoruzhick 0f5044b779 Fix build on 4.13
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2017-09-26 20:12:53 -07:00
Icenowy Zheng 942fadc305 Ported MAC from DT patch by Hans de Goede
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
2017-02-25 19:08:06 +08:00
Kamil Trzcinski 6b2045b110 initial commit 2017-01-30 21:28:09 +01:00