Task #118956 - fixed.err

back to task #118956
download
Error: SHELLCHECK_WARNING (CWE-758):
/usr/share/QPL/scripts/accel_conf.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
#    1|-> # ==========================================================================
#    2|   # Copyright (C) 2022 Intel Corporation
#    3|   #

Error: GCC_ANALYZER_WARNING (CWE-476):
qpl-1.8.0/tools/ref/ref_expand.c:257:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
qpl-1.8.0/tools/ref/ref_expand.c:94:23: enter_function: entry to ‘own_expand_le_be’
qpl-1.8.0/tools/ref/ref_expand.c:96:5: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand.c:100:14: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand.c:127:40: acquire_memory: this call could return NULL
qpl-1.8.0/tools/ref/ref_expand.c:133:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand.c:139:14: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand.c:139:14: call_function: calling ‘ref_extract_mask_bits’ from ‘own_expand_le_be’
qpl-1.8.0/tools/ref/ref_expand.c:139:14: return_function: returning to ‘own_expand_le_be’ from ‘ref_extract_mask_bits’
qpl-1.8.0/tools/ref/ref_expand.c:141:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand.c:147:14: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand.c:147:14: call_function: calling ‘own_expand’ from ‘own_expand_le_be’
#  255|           if (!mask_ptr[i]) {
#  256|               // Store zero
#  257|->             destination_ptr[i] = 0U;
#  258|           } else {
#  259|               // Check length

Error: GCC_ANALYZER_WARNING (CWE-476):
qpl-1.8.0/tools/ref/ref_expand.c:263:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
qpl-1.8.0/tools/ref/ref_expand.c:94:23: enter_function: entry to ‘own_expand_le_be’
qpl-1.8.0/tools/ref/ref_expand.c:96:5: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand.c:100:14: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand.c:127:40: acquire_memory: this call could return NULL
qpl-1.8.0/tools/ref/ref_expand.c:133:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand.c:139:14: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand.c:139:14: call_function: calling ‘ref_extract_mask_bits’ from ‘own_expand_le_be’
qpl-1.8.0/tools/ref/ref_expand.c:139:14: return_function: returning to ‘own_expand_le_be’ from ‘ref_extract_mask_bits’
qpl-1.8.0/tools/ref/ref_expand.c:141:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand.c:147:14: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand.c:147:14: call_function: calling ‘own_expand’ from ‘own_expand_le_be’
#  261|   
#  262|               // Store value
#  263|->             destination_ptr[i] = source_ptr[element_index++];
#  264|           }
#  265|       }

Error: GCC_ANALYZER_WARNING (CWE-476):
qpl-1.8.0/tools/ref/ref_expand_rle.c:438:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
qpl-1.8.0/tools/ref/ref_expand_rle.c:322:23: enter_function: entry to ‘own_expand_rle_le_be’
qpl-1.8.0/tools/ref/ref_expand_rle.c:358:5: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand_rle.c:361:49: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand_rle.c:370:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand_rle.c:376:42: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand_rle.c:379:40: acquire_memory: this call could return NULL
qpl-1.8.0/tools/ref/ref_expand_rle.c:385:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_expand_rle.c:391:14: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_expand_rle.c:391:14: call_function: calling ‘own_expand_rle’ from ‘own_expand_rle_le_be’
#  436|               if (destinationIndex >= number_of_output_elements) { return QPL_STS_INTL_INVALID_COUNT; }
#  437|   
#  438|->             destination_ptr[destinationIndex] = elementToRepeat;
#  439|               destinationIndex++;
#  440|           }

Error: GCC_ANALYZER_WARNING (CWE-476):
qpl-1.8.0/tools/ref/ref_extract.c:250:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘results_ptr’
qpl-1.8.0/tools/ref/ref_extract.c:94:23: enter_function: entry to ‘own_extract_le_be’
qpl-1.8.0/tools/ref/ref_extract.c:121:5: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_extract.c:124:49: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_extract.c:127:40: acquire_memory: this call could return NULL
qpl-1.8.0/tools/ref/ref_extract.c:133:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_extract.c:139:5: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_extract.c:142:14: call_function: inlined call to ‘own_extract’ from ‘own_extract_le_be’
#  248|   
#  249|       for (uint32_t i = first_index; i < last_index; ++i) {
#  250|->         destination_ptr[index++] = source_ptr[i];
#  251|       }
#  252|   

Error: GCC_ANALYZER_WARNING (CWE-476):
qpl-1.8.0/tools/ref/ref_scan.c:254:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
qpl-1.8.0/tools/ref/ref_scan.c:105:23: enter_function: entry to ‘own_compare_le_be’
qpl-1.8.0/tools/ref/ref_scan.c:117:5: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:119:49: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:120:42: acquire_memory: this call could return NULL
qpl-1.8.0/tools/ref/ref_scan.c:126:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:132:37: call_function: inlined call to ‘own_correct_parameter’ from ‘own_compare_le_be’
qpl-1.8.0/tools/ref/ref_scan.c:136:14: call_function: calling ‘own_compare’ from ‘own_compare_le_be’
#  252|               }
#  253|           }
#  254|->         destination_ptr[i] = comparison_result;
#  255|       }
#  256|   

Error: GCC_ANALYZER_WARNING (CWE-476):
qpl-1.8.0/tools/ref/ref_scan.c:273:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘source_ptr’
qpl-1.8.0/tools/ref/ref_scan.c:155:23: enter_function: entry to ‘own_compare_prle’
qpl-1.8.0/tools/ref/ref_scan.c:168:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:171:30: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:171:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:173:49: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:174:42: acquire_memory: this call could return NULL
qpl-1.8.0/tools/ref/ref_scan.c:179:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:185:26: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:195:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:201:5: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:204:14: call_function: calling ‘own_compare_output_to_format’ from ‘own_compare_prle’
#  271|   
#  272|       for (uint32_t i = 0U; i < number_of_elements; ++i) {
#  273|->         status = ref_store_result(current_ptr[i], i, &destination_ptr, destination_end_ptr, &current_index,
#  274|                                     output_format);
#  275|   

Error: GCC_ANALYZER_WARNING (CWE-457):
qpl-1.8.0/tools/ref/ref_scan.c:273:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
qpl-1.8.0/tools/ref/ref_scan.c:155:23: enter_function: entry to ‘own_compare_prle’
qpl-1.8.0/tools/ref/ref_scan.c:168:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:171:30: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:171:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:173:49: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:179:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:185:26: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:195:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_scan.c:201:5: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_scan.c:204:14: call_function: calling ‘own_compare_output_to_format’ from ‘own_compare_prle’
#  271|   
#  272|       for (uint32_t i = 0U; i < number_of_elements; ++i) {
#  273|->         status = ref_store_result(current_ptr[i], i, &destination_ptr, destination_end_ptr, &current_index,
#  274|                                     output_format);
#  275|   

Error: GCC_ANALYZER_WARNING (CWE-476):
qpl-1.8.0/tools/ref/ref_select.c:274:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
qpl-1.8.0/tools/ref/ref_select.c:176:23: enter_function: entry to ‘own_select_prle’
qpl-1.8.0/tools/ref/ref_select.c:205:5: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_select.c:208:25: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_select.c:210:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_select.c:213:30: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_select.c:213:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_select.c:216:49: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_select.c:222:40: acquire_memory: this call could return NULL
qpl-1.8.0/tools/ref/ref_select.c:227:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_select.c:233:30: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_select.c:236:14: call_function: calling ‘ref_extract_mask_bits’ from ‘own_select_prle’
qpl-1.8.0/tools/ref/ref_select.c:236:14: return_function: returning to ‘own_select_prle’ from ‘ref_extract_mask_bits’
qpl-1.8.0/tools/ref/ref_select.c:238:8: branch_false: following ‘false’ branch...
qpl-1.8.0/tools/ref/ref_select.c:244:14: branch_false: ...to here
qpl-1.8.0/tools/ref/ref_select.c:244:14: call_function: calling ‘own_select’ from ‘own_select_prle’
#  272|   
#  273|       for (uint32_t i = 0U; i < number_of_elements; ++i) {
#  274|->         if (mask_ptr[i]) { destination_ptr[index++] = source_ptr[i]; }
#  275|       }
#  276|