Skip to content

Fix Coverity static analysis defects (Feb)#3376

Merged
as-suvorov merged 3 commits intoopenvinotoolkit:masterfrom
sgonorov:coverity-fixes-late-feb
Mar 10, 2026
Merged

Fix Coverity static analysis defects (Feb)#3376
as-suvorov merged 3 commits intoopenvinotoolkit:masterfrom
sgonorov:coverity-fixes-late-feb

Conversation

@sgonorov
Copy link
Contributor

Description

Fix three Coverity static analysis defects across speculative decoding, LLM pipeline, and Whisper components.

  • CID 6415047 (INTEGER_OVERFLOW): Add boundary guards before decrementing unsigned indices in DTW backtracking to prevent size_t underflow - CVS-181400
  • CID 6419148 (MISSING_LOCK): Access m_draft_generations_mutex field directly instead of through accessor in generate_common template, so Coverity can correlate the lock with the guarded data - CVS-181402
  • CID 6415437 (NULL_FIELD): Add defensive assertion on main_model_descr.model before passing it to StatefulLLMPipeline constructor - CVS-181401

@sgonorov sgonorov self-assigned this Feb 23, 2026
@github-actions github-actions bot added category: LLM LLM pipeline (stateful, static) category: whisper Whisper pipeline category: speculative decoding Speculative decoding labels Feb 23, 2026
@sgonorov sgonorov force-pushed the coverity-fixes-late-feb branch from 8399835 to 6b319ac Compare February 24, 2026 10:40
@sgonorov sgonorov force-pushed the coverity-fixes-late-feb branch from 6b319ac to 672a15f Compare March 9, 2026 09:33
@sgonorov sgonorov requested review from as-suvorov and sbalandi March 9, 2026 09:33
@sgonorov sgonorov added this to the 2026.1 milestone Mar 9, 2026
@as-suvorov as-suvorov enabled auto-merge March 9, 2026 09:38
@as-suvorov as-suvorov added this pull request to the merge queue Mar 10, 2026
Merged via the queue into openvinotoolkit:master with commit 5734301 Mar 10, 2026
162 of 167 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: LLM LLM pipeline (stateful, static) category: speculative decoding Speculative decoding category: whisper Whisper pipeline Code Freeze

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants