commit | eef53ef6ed7aad892e4a1fe90a512df1ab0890ff | [log] [tgz] |
---|---|---|
author | Sebastian Dröge <sebastian@centricular.com> | Sun Nov 27 12:20:11 2016 +0200 |
committer | Sebastian Dröge <sebastian@centricular.com> | Sun Nov 27 12:20:11 2016 +0200 |
tree | ba969fc5076a80fd2519cecf6fe0c30e45779f3b | |
parent | 7488a8fb3544634a1629ce0c804dc3c3ab4314ed [diff] |
dash: Fix stripping of space at the beginning/end of durations The way how strchr() was called here, it could easily read after the end of the string. Use g_ascii_isspace() instead. Detected by asan in the unit test.