summaryrefslogtreecommitdiff
path: root/doc/maintain.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-02-26 13:13:09 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-02-26 13:13:34 -0800
commitbc25238849ed25a0a16b87f7d4bba3d091c49325 (patch)
treeabc8b4c4328097b539756608c9c84585e0823644 /doc/maintain.texi
parent532b4c9f21473559657e273ef9f8f6fc8c7c2ab1 (diff)
downloadgnulib-bc25238849ed25a0a16b87f7d4bba3d091c49325.tar.gz
gettime-res: fix unlikely overflow bug
* lib/gettime-res.c (gettime_res): Fix bug when hz * tv_sec overflows. With 64-bit ‘long’ and nanosecond resolution the bug can occur starting in the year 2262, with probability about 2e-9. With 32-bit ‘long’ the bug can occur now, with same probability. The probability goes up on hosts with worse timestamp resolution.
Diffstat (limited to 'doc/maintain.texi')
0 files changed, 0 insertions, 0 deletions