New Defects reported by Coverity Scan for sbabic/swupdate

5 views
Skip to first unread message

scan-...@coverity.com

unread,
Feb 24, 2026, 10:46:32 AMFeb 24
to swup...@googlegroups.com

Hi,

Please find the latest report on new defect(s) introduced to sbabic/swupdate found with Coverity Scan.

  • New Defects Found: 1
  • 1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
  • Defects Shown: Showing 1 of 1 defect(s)

Defect Details

** CID 644651:       Incorrect expression  (COPY_PASTE_ERROR)
/suricatta/server_hawkbit.c: 1109           in json_extract_artifact()


_____________________________________________________________________________________________
*** CID 644651:         Incorrect expression  (COPY_PASTE_ERROR)
/suricatta/server_hawkbit.c: 1109             in json_extract_artifact()
1103     
1104     	for (int json_data_artifact_count = 0;
1105     	     json_data_artifact_count < json_data_artifact_max;
1106     	     json_data_artifact_count++) {
1107     		json_data_artifact_item = array_list_get_idx(
1108     		    json_data_artifact_array, json_data_artifact_count);
>>>     CID 644651:         Incorrect expression  (COPY_PASTE_ERROR)
>>>     "DEBUGLEVEL" looks like a copy-paste error.
1109     		TRACE("Iterating over JSON, key=%s",
1110     		      json_object_to_json_string(json_data_artifact_item));
1111     		json_object *json_data_artifact_filename =
1112     		    json_get_path_key(json_data_artifact_item,
1113     				      (const char *[]){"filename", NULL});
1114     		json_object *json_data_artifact_sha1hash =

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team

Reply all
Reply to author
Forward
0 new messages