Skip to content
Snippets Groups Projects
Commit 6c5dd5a5 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

Merge branch 'feature-2336' into 'master'

fixed potential bug in dap_config_get_array_str()

See merge request libdap!9
parents 85933c82 6d3fbdc6
No related branches found
No related tags found
1 merge request!24Support 3689
......@@ -486,6 +486,8 @@ char** dap_config_get_array_str(dap_config_t * a_config, const char * a_section_
const char * a_item_name, uint16_t * array_length) {
dap_config_item_t * item = dap_config_get_item(a_config, a_section_path, a_item_name);
if (item == NULL){
if(array_length != NULL)
*array_length = 0;
return NULL;
}
if (array_length != NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment