projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aec0c6
)
Fix incredibly unlikely NULL pointer dereference.
author
David Robillard
<d@drobilla.net>
Tue, 18 Nov 2014 07:23:49 +0000
(
02:23
-0500)
committer
David Robillard
<d@drobilla.net>
Tue, 18 Nov 2014 07:53:28 +0000
(
02:53
-0500)
libs/ardour/sndfilesource.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/sndfilesource.cc
b/libs/ardour/sndfilesource.cc
index 5f1b31c640d1a2728e62c3bb71eedca1e5aa40fd..9af2b560561c41b44482decb4af048e58e378fbe 100644
(file)
--- a/
libs/ardour/sndfilesource.cc
+++ b/
libs/ardour/sndfilesource.cc
@@
-643,7
+643,7
@@
SndFileSource::setup_broadcast_info (framepos_t /*when*/, struct tm& now, time_t
return -1;
}
- if (!(_flags & Broadcast)) {
+ if (!(_flags & Broadcast)
|| !_broadcast_info
) {
return 0;
}