mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
FS-11308: fix segfault on invalid multipart sdp
This commit is contained in:
@@ -381,6 +381,8 @@ msg_multipart_t *msg_multipart_parse(su_home_t *home,
|
||||
char *b, *end;
|
||||
msg_param_t param;
|
||||
|
||||
if (!pl) return NULL;
|
||||
|
||||
p = pl->pl_data; len = pl->pl_len; end = p + len;
|
||||
|
||||
su_home_init(msg_home(msg));
|
||||
|
||||
Reference in New Issue
Block a user