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:
parent
61de2f548d
commit
64aadd90b1
|
@ -140,7 +140,7 @@ SWITCH_STANDARD_APP(bcast_function)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!SWITCH_READ_ACCEPTABLE(status)) {
|
if (!SWITCH_READ_ACCEPTABLE(status) || !read_frame) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue