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

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

 



Hi Kal,

Seems like Riza have checked in it to SVN trunk (https://trac.pjsip.org/repos/changeset/5458) but unfortunately somehow forgot to update you about it.

Thank you for the report and the patch.

BR,
nanang


On Thu, Oct 20, 2016 at 6:02 PM, b17 c0de <b17c0de@xxxxxxxxx> wrote:
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

_______________________________________________
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