[asterisk-bugs] [JIRA] (ASTERISK-29042) res_parking: Parker UUID is no longer copied
Misha Vodsedalek (JIRA)
noreply at issues.asterisk.org
Mon Aug 24 10:02:43 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Misha Vodsedalek updated ASTERISK-29042:
----------------------------------------
Description:
A change introduced in Asterisk 13.35.0 eliminated a line that was copying parker_uuid into the subscription data structure. Without the parker_uuid, the feature does not work correctly.
The specific change that introduced the problem is in the attached file change_in_13.35.diff
was:
A change introduced in Asterisk 13.35.0 eliminated a line that was copying parker_uuid into the subscription data structure. Without the parker_uuid, the feature does not work correctly.
The specific change that introduced the problem:
@@ -189,8 +193,7 @@
subscription_data->hangup_after = hangup_after;
subscription_data->parkee_uuid = subscription_data->parker_uuid + parker_uuid_size;
removed> strcpy(subscription_data->parkee_uuid, parkee_uuid);
removed> strcpy(subscription_data->parker_uuid, parker_uuid);
added> ast_copy_string(subscription_data->parkee_uuid, parkee_uuid, parkee_uuid_size);
if (!(parked_datastore->parked_subscription = stasis_subscribe_pool(ast_parking_topic(), parker_update_cb, subscription_data))) {
return -1;
> res_parking: Parker UUID is no longer copied
> --------------------------------------------
>
> Key: ASTERISK-29042
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29042
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_parking
> Affects Versions: 13.35.0
> Environment: Asterisk 13.35.0
> Reporter: Misha Vodsedalek
> Labels: patch
> Attachments: 29042.patch, change_in_13.35.diff
>
>
> A change introduced in Asterisk 13.35.0 eliminated a line that was copying parker_uuid into the subscription data structure. Without the parker_uuid, the feature does not work correctly.
> The specific change that introduced the problem is in the attached file change_in_13.35.diff
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list