Re: [PATCH] Avoid static local variable in fbus-phonet
On Wed, Nov 21, 2018 at 10:35 AM Ladislav Michl <[hidden email]> wrote: > > Function verify_max_message_len is using static local variable > making it thread unsafe. Move that variable into incoming message > instance. > > Signed-off-by: Ladislav Michl <[hidden email]> > Reported-by: Peter Koch <[hidden email]>
I think it makes sense. I'll apply. The only concern I have is that connection to a phone should be single threaded anyway.