[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 19:36:20 CEST 2014
Le lundi 7 juillet 2014, 12:05:45 Casian Andrei a écrit :
> If the current locale settings on a system are somehow broken, the
> newlocale function can fail and return a null locale object. According
> to the documentation, subsequent calls to strerror_l and freelocale have
> an undefined behavior. This may be a segmentation fault.
This should be fixed now, but you really should configure your system properly.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list