projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0108707
)
debug issue #5221 -- possible mem corruption
author
Robin Gareus
<robin@gareus.org>
Sun, 23 Dec 2012 11:58:08 +0000
(11:58 +0000)
committer
Robin Gareus
<robin@gareus.org>
Sun, 23 Dec 2012 11:58:08 +0000
(11:58 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13714
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/audio_diskstream.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audio_diskstream.cc
b/libs/ardour/audio_diskstream.cc
index 6e2c8a570d7b51eb132e0ed30375eb4b6b4b3288..d8f2ba9d746072d9423cacaac0dee5ebd9b4611f 100644
(file)
--- a/
libs/ardour/audio_diskstream.cc
+++ b/
libs/ardour/audio_diskstream.cc
@@
-618,6
+618,8
@@
AudioDiskstream::process (framepos_t transport_frame, pframes_t nframes, framecn
as our current_playback_buffer.
*/
+ assert(wrap_buffer_size >= chaninfo->playback_vector.len[0] + chaninfo->playback_vector.len[1]);
+
/* Copy buf[0] from playback_buf */
memcpy ((char *) chaninfo->playback_wrap_buffer,
chaninfo->playback_vector.buf[0],