[FFmpeg-trac] #8487(avcodec:new): UBSan: left shift of negative value

FFmpeg trac at avcodec.org
Sun Jan 19 13:05:53 EET 2020


#8487: UBSan: left shift of negative value
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  andreafioraldi                     |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  4.2          |               Resolution:
             Keywords:  ubsan        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by andreafioraldi):

 Okok sorry, sleepless saturday night, it is obviously sign_extend(byte >>
 4, 4) that is negative, not shift[n].

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


More information about the FFmpeg-trac mailing list