mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
protect against null deref
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7264 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
61de2f548d
commit
64aadd90b1
1 file changed
+1
-1
@@ -140,7 +140,7 @@ SWITCH_STANDARD_APP(bcast_function)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!SWITCH_READ_ACCEPTABLE(status)) {
|
||||
if (!SWITCH_READ_ACCEPTABLE(status) || !read_frame) {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user