commit | 400c59895a744068994025cf33f80b56bc960a35 | [log] [tgz] |
---|---|---|
author | Qi Wang <interwq@gwu.edu> | Tue Nov 16 12:40:34 2021 -0800 |
committer | Qi Wang <interwq@gmail.com> | Tue Nov 16 16:54:12 2021 -0800 |
tree | 866057a9a356b06ed929946140d585f0ff2b1ace | |
parent | 8b81d3f214cc9ef86210d731803fe39f2f3d54d9 [diff] |
Fix uninitialized nstime reading / updating on the stack in hpa. In order for nstime_update to handle non-monotonic clocks, it requires the input nstime to be initialized -- when reading for the first time, zero init has to be done. Otherwise random stack value may be seen as clocks and returned.