diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2016-07-05 21:20:41 +0530 |
---|---|---|
committer | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2016-07-05 21:20:41 +0530 |
commit | 30e4cc5413f72c2c728a544389da0c48500d9904 (patch) | |
tree | 261f08774100bfd10af7e10ab04c49b238343f89 /crypt | |
parent | 2918b0d0ecbf781400577d63aed7eaa4498dad91 (diff) | |
download | glibc-30e4cc5413f72c2c728a544389da0c48500d9904.zip glibc-30e4cc5413f72c2c728a544389da0c48500d9904.tar.gz glibc-30e4cc5413f72c2c728a544389da0c48500d9904.tar.bz2 |
powerpc: Fix return code of strcasecmp for unaligned inputs
If the input values are unaligned and if there are null characters in the
memory before the starting address of the input values, strcasecmp
gives incorrect return code. Fixed it by adding mask the bits that
are not part of the string.
Diffstat (limited to 'crypt')
0 files changed, 0 insertions, 0 deletions