Opened 4 years ago

Last modified 4 years ago

#8340 new defect

Copy-paste-error in ansi.c:328

Reported by: Mark Hermeling Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: ansi
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Issue found during static analysis with GrammaTech CodeSonar. Screenshot attached.

It would seem (based on the code layout) that s->fg on line 328 should really be s->bg

I dont have a test-case for this.

Attachments (1)

Screen Shot 2019-10-27 at 07.22.52.png (578.2 KB ) - added by Mark Hermeling 4 years ago.
Screen shot of the static analysis warning

Download all attachments as: .zip

Change History (2)

by Mark Hermeling, 4 years ago

Screen shot of the static analysis warning

comment:1 by Carl Eugen Hoyos, 4 years ago

Component: undeterminedavcodec
Keywords: ansi added
Version: unspecifiedgit-master

For future reports: Please copy-paste the output instead of a screenshot.

Note: See TracTickets for help on using tickets.