Commit graph

2 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
Kamil Trzcinski 6b2045b110 initial commit 2017-01-30 21:28:09 +01:00