mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-27 01:04:01 +00:00
segfaults are bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10386 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
892e50fc46
commit
af7c8e397a
@ -2670,7 +2670,7 @@ SWITCH_STANDARD_API(uuid_setvar_multi_function)
|
||||
|
||||
for (x = 0 ; x < argc; x++) {
|
||||
var_name = argv[x];
|
||||
if ((var_value = strchr(var_name, '='))) {
|
||||
if (var_name && (var_value = strchr(var_name, '='))) {
|
||||
*var_value++ = '\0';
|
||||
}
|
||||
if (switch_strlen_zero(var_name)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user