Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDKBWIFI-22 Fix for invalid use of strlen on mac_address_t #143

Merged
merged 7 commits into from
Jan 30, 2025
4 changes: 2 additions & 2 deletions src/ctrl/dm_easy_mesh_ctrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1322,8 +1322,8 @@ int dm_easy_mesh_ctrl_t::get_network_config(cJSON *parent, char *key)
if (((dev_obj = cJSON_GetArrayItem(dev_list_obj, i)) != NULL) &&
((obj = cJSON_GetObjectItem(dev_obj, "ID")) != NULL)) {
radio_list_obj = cJSON_AddArrayToObject(dev_obj, "RadioList");
dm_easy_mesh_t::string_to_macbytes(cJSON_GetStringValue(obj), dev_mac);
dm_radio_list_t::get_config(radio_list_obj, &dev_mac);
char* value = cJSON_GetStringValue(obj);
dm_radio_list_t::get_config(radio_list_obj, value);
}
}

Expand Down