Re: [PATCH] Fix data race in pj_time_decode()

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

 



Can someone from PJSIP please review this?

On Sat, Oct 8, 2016 at 2:31 PM, b17 c0de <b17c0de@xxxxxxxxx> wrote:
> Hi,
> Use localtime_r() instead of localtime() (if available) since
> localtime() is not thread safe. This fixes a data race in
> pj_time_decode() which is called from multiple threads. Please apply.
>
> Kal

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux