[FFmpeg-trac] #9314(avcodec:closed): Usage-of-uninitialized value

FFmpeg trac at avcodec.org
Fri Jul 2 03:05:44 EEST 2021


#9314: Usage-of-uninitialized value
-------------------------------------+-------------------------------------
             Reporter:  Andrew Bao   |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  avcodec
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  Usage-of-    |               Blocked By:
  uninitialized value bug            |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by mkver):

 * status:  new => closed
 * resolution:   => invalid

Comment:

 How did you check that these values are uninitialized? Every codec's
 private context (like the vorbis_enc_context struct for the Vorbis
 encoder) is zero-initialized during its allocation (yes, this thing lives
 on the heap, so it does not inherit anything from the "previous stack"),
 so it is not uninitialized.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9314#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list