Ticket #1572 (closed defect: fixed)

Opened 2 weeks ago

Last modified 1 week ago

MPEG CSA: static buffer overflow

Reported by: courmisch Assigned to: funman
Priority: normal Milestone: 0.9.0-test1
Component: Stream output Version: master
Severity: normal Keywords:
Cc: Platform(s): all
Difficulty: unknown Work status: Not started

Description

../../../../modules/mux/mpeg/csa.c: In function ‘csa_ComputeKey’:
../../../../modules/mux/mpeg/csa.c:291: attention : array subscript is above array bounds

Indeed, this will overflow during the last iteration (kb[7][9] is out of bounds):

    for( i = 0; i < 8; i++ )
    {
        kb[7][i+1] = ck[i];
    }

Change History

05/06/08 22:52:41 changed by funman

  • status changed from new to assigned.
  • owner changed from fenrir to funman.

05/06/08 23:15:57 changed by funman

  • status changed from assigned to closed.
  • resolution set to fixed.