5658e188155aba3504cf687c9a335801d71f5111
Previously it was possible to cause a 64bit signed to 32bit unsigned overflow. `from_stretcher` is pframes_t aka. uint32_t. With int64_t arguments a std::min() expression producing negative result will result in large 32bit values: (pframes_t) std::min<int64_t>(1024, 176400 - 187392) = 4294956304 This produced a segfault when used as n_samples to copy in buf.accumulate_from()
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%