summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-22 22:37:43 +0200
committerRobin Gareus <robin@gareus.org>2020-04-22 22:37:43 +0200
commit485ac454771a7ae5301524f9ba0a5adb28fbacf4 (patch)
treef9a514f4893c402a7f525f28bc39984c3d0c4723 /libs/ardour/ardour
parentea16fc51d328cdf1fc58972858cbc490f3fa3afa (diff)
Fix region boundary cache lookup segfault
When the cursor position is after the last item in the vector, upper_bound returns the last given iterator, here: `region_boundary_cache.end()`, which is invalid to dereference. Furthermore prevent possible duplicate prev/next pair at zero, when using the video-timelime.
Diffstat (limited to 'libs/ardour/ardour')
0 files changed, 0 insertions, 0 deletions