23010a910d63c702a420e0956ddb773b71277ed5
This addressee a bug where ardour 6 was able to write negative duration `length="-1"` `length-beats="-3.3650500597559585e-05"` Ideally timecnt_t::string_to should check for invalid, negative, duration. But this also catches a more generic case. ``` exception at str.substr (1) #3 Temporal::timepos_t::string_to (this=0x7fffffff7bb0, str="") at libs/temporal/timeline.cc:904 #4 Temporal::timecnt_t::string_to (this=0x7fffffff7ba0, str="-2") at libs/temporal/timeline.cc:294 #5 PBD::string_to<Temporal::timecnt_t> (str="-2") at libs/ardour/ardour/types_convert.h:131 ```
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%