diff options
author | David Robillard <d@drobilla.net> | 2014-11-18 02:23:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-18 02:53:28 -0500 |
commit | 26f6f80a53307569c95a732a0304215376d8bc5f (patch) | |
tree | 7cc3d9549b118a89d0e6d38704dfc4e93ea8590b /libs | |
parent | 9aec0c627d48ba352d41e6a63995bc0d055ec485 (diff) |
Fix incredibly unlikely NULL pointer dereference.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/sndfilesource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 5f1b31c640..9af2b56056 100644 --- 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; } |