diff options
author | Chung-Lin Tang <cltang@codesourcery.com> | 2019-09-17 17:50:11 +0800 |
---|---|---|
committer | Chung-Lin Tang <cltang@codesourcery.com> | 2019-09-17 17:50:11 +0800 |
commit | b881217f1716cc02a6606c44f0e436c3a4e70a9e (patch) | |
tree | 13f171ae7e7838c61382a81b9b886d7b7737887a /ChangeLog | |
parent | 1a6566094d3097f4a3037ab5555cddc6cb11c3a3 (diff) | |
download | glibc-b881217f1716cc02a6606c44f0e436c3a4e70a9e.zip glibc-b881217f1716cc02a6606c44f0e436c3a4e70a9e.tar.gz glibc-b881217f1716cc02a6606c44f0e436c3a4e70a9e.tar.bz2 |
Fix small error in HP_TIMING_PRINT trailing null char setting
Fix a small error in the HP_TIMING_PRINT trailing zero setting; the '\0'
should be set at MIN(Len,string length), instead of always at the 'Len'
position.
* sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
position of string null termination.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2019-09-17 Chung-Lin Tang <cltang@codesourcery.com> + + * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct + position of string null termination. + 2019-09-14 Aurelien Jarno <aurelien@aurel32.net> [BZ #24986] |