[vlc-devel] [PATCH] error.c: cover the case when newlocale fails and returns a null locale object

Rémi Denis-Courmont remi at remlab.net
Mon Jul 7 18:11:28 CEST 2014

Le lundi 7 juillet 2014, 18:49:55 Casian Andrei a écrit :
> 2014-07-07 18:37 GMT+03:00 Rémi Denis-Courmont <remi at remlab.net>:
> > This code is not thread-safe. The whole point of this function as opposed
> > to
> > strerror() is to be thread-safe.
> > 
> > Ah yes, because of those buffers I assume. Missed that.
> Is it possible and acceptable to use mutexes in there?

I am pretty sure mutexes will not solve anything here.

Rémi Denis-Courmont

More information about the vlc-devel mailing list