diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-18 20:07:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-18 20:07:06 +0000 |
| commit | 8374fce0dfbc945f878b9c0f5525ce8d48aaa428 (patch) | |
| tree | 3638bffb95fd61b32e2281e3336152f71eb7642f /CHANGELOG.md | |
| parent | 725d5e1aa9d0276783765dcabe5430f03ea13dd5 (diff) | |
| parent | ebd62215ff05bd0a43a17539e39b92fac8d024cb (diff) | |
Merge #278
278: Cyccnt r=texitoi a=perlindgren
The subtractions in `elapsed` and `duration` may cause an overflow panic in debug mode. This is solved by using wrapping arithmetics.
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c96df3c..5a5cdec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## v0.5.1 - 2019-11-18 +- Fixed arithmetic wrapping bug in src/cyccntr.rs + elapsed and duration could cause an internal overflow trap + on subtraction in debug mode. + ## v0.5.0 - 2019-11-14 ### Added |
