[Freeswitch-svn] [commit] r7264 - freeswitch/trunk/src/mod/applications/mod_esf
Freeswitch SVN
mikej at freeswitch.org
Thu Jan 17 01:27:42 EST 2008
Author: mikej
Date: Thu Jan 17 01:27:42 2008
New Revision: 7264
Modified:
freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c
Log:
protect against null deref
Modified: freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c Thu Jan 17 01:27:42 2008
@@ -140,7 +140,7 @@
continue;
}
- if (!SWITCH_READ_ACCEPTABLE(status)) {
+ if (!SWITCH_READ_ACCEPTABLE(status) || !read_frame) {
goto fail;
}
More information about the Freeswitch-svn
mailing list