Re: KASAN: global-out-of-bounds Read in qmi_wwan_probe
From: BjÃrn Mork
Date: Mon Jun 24 2019 - 12:27:09 EST
Hillf Danton <hdanton@xxxxxxxx> writes:
> and wonder if the following works.
>
> - info = (void *)&id->driver_info;
> + info = (void *)id->driver_info;
Doh! Right you are. Thanks to both you and Andrey for quick and good
help.
We obviously have some bad code patterns here, since this apparently
worked for Kristian by pure luck.
BjÃrn