+4
−0
+10
−0
+8
−6
+25
−1
Loading
Gitlab 现已全面支持 git over ssh 与 git over https。通过 HTTPS 访问请配置带有 read_repository / write_repository 权限的 Personal access token。通过 SSH 端口访问请使用 22 端口或 13389 端口。如果使用CAS注册了账户但不知道密码,可以自行至设置中更改;如有其他问题,请发邮件至 service@cra.moe 寻求协助。
Impact: fix crash on reading from /sys/module/.../ieee80211_default_rc_algo The module_param type "charp" simply sets a char * pointer in the module to the parameter in the commandline string: this is why we keep the (mangled) module command line around. But when set via sysfs (as about 11 charp parameters can be) this memory is freed on the way out of the write(). Future reads hit random mem. So we kstrdup instead: we have to check we're not in early commandline parsing, and we have to note when we've used it so we can reliably kfree the parameter when it's next overwritten, and also on module unload. (Thanks to Randy Dunlap for CONFIG_SYSFS=n fixes) Reported-by:Sitsofe Wheeler <sitsofe@yahoo.com> Diagnosed-by:
Frederic Weisbecker <fweisbec@gmail.com> Tested-by:
Frederic Weisbecker <fweisbec@gmail.com> Tested-by:
Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
CRA Git | Maintained and supported by SUSTech CRA and CCSE