This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] locale: don't crash if locale-archive contains all zeros


Hi,

On Tue, Dec 03, 2013 at 03:50:37PM +0530, Siddhesh Poyarekar wrote:
> On 1 December 2013 17:06, Aurelien Jarno <aurelien@aurel32.net> wrote:
> > In case of power failure followed by filesystem issues locale-archive
> > can end-up containing all zeros. In that case all calls to setlocale()
> > generate a SIGFPE. This renders a system with a default non-C locale
> > unbootable.
> >
> > Avoid this by ignoring the locale instead of generating a SIGFPE.
> 
> Sorry, I'm a bit late to mention this but I think there should have
> been a bug report upstream to mirror the debian bug.

I can still open one if you think it is needed.

Aurelien

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]