diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2013-12-03 11:16:16 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-12-03 11:16:16 +0100 |
commit | 18d1425127e5712dda888bb280d5d1a038a45c7f (patch) | |
tree | 1633427d7b3f7ea9abac01473faa517788839268 /crypt | |
parent | 520d437b9455560d099fe6bd9664be1f9f76868b (diff) | |
download | glibc-18d1425127e5712dda888bb280d5d1a038a45c7f.tar glibc-18d1425127e5712dda888bb280d5d1a038a45c7f.tar.gz glibc-18d1425127e5712dda888bb280d5d1a038a45c7f.tar.bz2 glibc-18d1425127e5712dda888bb280d5d1a038a45c7f.zip |
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.
Diffstat (limited to 'crypt')
0 files changed, 0 insertions, 0 deletions