Opened 3 years ago

Closed 3 years ago

Last modified 14 months ago

#6743 closed defect (fixed)

ffmpeg-3.4/libavcodec/vorbis.c:74]: (style) Array index 'i' is used before limits check.

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


for (i = p; (bits[i] == 0) && (i < num); ++i)


Suggest sanity check array index before use, not after

Change History (2)

comment:1 Changed 3 years ago by hiroh

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 14 months ago by cehoyos

  • Keywords vorbis added
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.