[FFmpeg-trac] #8156(undetermined:open): PVS-studio big list of errors

FFmpeg trac at avcodec.org
Wed Oct 9 18:21:48 EEST 2019


#8156: PVS-studio big list of errors
-------------------------------------+-------------------------------------
             Reporter:  Balling      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Balling):

 https://github.com/FFmpeg/FFmpeg/blob/ffb32d35eee616f79a37c4c96f37f2697932cc32/libavformat/nsvdec.c#L472
 Strange nsv->vheight != vwidth

 ./libavformat/rtpdec_jpeg.c     316     warn    V507 Pointer to local
 array 'new_qtables' is stored outside the scope of this array. Such a
 pointer will become invalid.
 ./libavformat/rtpdec_mpa_robust.c       76      warn    V763 Parameter
 'len' is always rewritten in function body before being used.
 ./libavformat/rtpenc.c  585     warn    V1037 Two or more case-branches
 perform the same actions. Check lines: 585, 604

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8156#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list