#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 |
Description
for (i = p; (bits[i] == 0) && (i < num); ++i)
;
Suggest sanity check array index before use, not after
Change History (2)
comment:1 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 5 years ago
Keywords: | vorbis added |
---|---|
Version: | unspecified → git-master |
Note:
See TracTickets
for help on using tickets.
c37de519202ac2e5f20141673081b0e6b57ab983