[PATCH] Fix potential bugs of wpa_ctrl_request

Johannes Berg johannes at sipsolutions.net
Fri Jul 23 05:37:26 PDT 2021


On Fri, 2021-07-23 at 07:08 -0400, Alan DeKok wrote:
> On Jul 23, 2021, at 7:02 AM, Johannes Berg <johannes at sipsolutions.net> wrote:
> > Looks good to me. Technically, you could also move the "started_at"
> > variable into the loop together with "diff", you only need "ending_at"
> > to be outside.
> 
>   "started_at" already existed, and is used elsewhere in the function.

Oops, yeah, I should read properly. Sorry.

johannes




More information about the Hostap mailing list