gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Avoid static local variable in fbus-phonet


From: Pawel Kot
Subject: Re: [PATCH] Avoid static local variable in fbus-phonet
Date: Wed, 22 Jan 2020 23:37:43 +0100

Hi,

On Wed, Nov 21, 2018 at 10:35 AM Ladislav Michl <address@hidden> 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 <address@hidden>
> Reported-by: Peter Koch <address@hidden>

I think it makes sense. I'll apply. The only concern I have is that connection to a phone should be single threaded anyway.

Cheers,
--
Pawel Kot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]