projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9651168
)
Fix possible ringbuffer overflow
author
David Robillard
<d@drobilla.net>
Mon, 1 Aug 2016 00:06:51 +0000
(20:06 -0400)
committer
David Robillard
<d@drobilla.net>
Mon, 1 Aug 2016 00:06:51 +0000
(20:06 -0400)
libs/ardour/worker.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/worker.cc
b/libs/ardour/worker.cc
index ce71c92a1537f8f04330717d0b38601b3d5c649a..9d6dd09b55f64af6190f50e75f5a68a79e56a1a0 100644
(file)
--- a/
libs/ardour/worker.cc
+++ b/
libs/ardour/worker.cc
@@
-63,7
+63,7
@@
Worker::schedule(uint32_t size, const void* data)
bool
Worker::respond(uint32_t size, const void* data)
{
- if (_re
quest
s->write_space() < size + sizeof(size)) {
+ if (_re
sponse
s->write_space() < size + sizeof(size)) {
return false;
}
if (_responses->write((const uint8_t*)&size, sizeof(size)) != sizeof(size)) {