This is the mail archive of the glibc-bugs@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]

[Bug libc/16289] floating point exception with corrupted locale-archive


https://sourceware.org/bugzilla/show_bug.cgi?id=16289

Aurelien Jarno <aurelien at aurel32 dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Aurelien Jarno <aurelien at aurel32 dot net> ---
Fixed in master by the following commits:

commit 3d2e60756a511e64c41dc17e64e350b27ffebafb
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Tue Dec 3 14:43:23 2013 +0100

    Add bug number to ChangeLog and NEWS

commit 18d1425127e5712dda888bb280d5d1a038a45c7f
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Tue Dec 3 11:16:16 2013 +0100

    locale: don't crash if locale-archive contains all zeros

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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