diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-01-25 10:50:34 -0500 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-04-29 10:05:33 -0300 |
commit | 72c11b353ede72931cc474c9071d143d9a05c0d7 (patch) | |
tree | 1e825c0626899c1952a01c4ad2868545c8169533 /inet | |
parent | NEWS entry for CVE-2016-3075 (diff) | |
download | glibc-72c11b353ede72931cc474c9071d143d9a05c0d7.tar.gz glibc-72c11b353ede72931cc474c9071d143d9a05c0d7.tar.bz2 glibc-72c11b353ede72931cc474c9071d143d9a05c0d7.zip |
powerpc: Zero pad using memset in strncpy/stpncpy
Call __memset_power8 to pad, with zeros, the remaining bytes in the
dest string on __strncpy_power8 and __stpncpy_power8. This improves
performance when n is larger than the input string, giving ~30% gain for
larger strings without impacting much shorter strings.
Diffstat (limited to 'inet')
0 files changed, 0 insertions, 0 deletions