New Defects reported by Coverity Scan for sbabic/swupdate

6 views
Skip to first unread message

scan-...@coverity.com

unread,
Sep 26, 2025, 10:56:34 AM (5 days ago) Sep 26
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
  • Defects Shown: Showing 1 of 1 defect(s)

Defect Details

** CID 630352:       Uninitialized variables  (UNINIT)
/core/stream_interface.c: 153           in extract_file_to_tmp()


_____________________________________________________________________________________________
*** CID 630352:         Uninitialized variables  (UNINIT)
/core/stream_interface.c: 153             in extract_file_to_tmp()
147     	ret = 0;
148     err:
149     #ifdef CONFIG_ASYM_ENCRYPTED_SW_DESCRIPTION
150     	if (encrypted)
151     		set_cryptolib(cryptolib);
152     #endif
>>>     CID 630352:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "fdout".
153     	if (fdout >= 0)
154     		close(fdout);
155     	return ret;
156     }
157     
158     static bool update_transaction_state(struct swupdate_cfg *software, update_state_t newstate)

  

View Defects in Coverity Scan

Best regards,

The Coverity Scan Admin Team

Reply all
Reply to author
Forward
0 new messages