[FFmpeg-trac] #8143(avformat:reopened): left shift of negative value in libavformat/rmdec.c
FFmpeg
trac at avcodec.org
Sun Sep 15 17:13:23 EEST 2019
#8143: left shift of negative value in libavformat/rmdec.c
------------------------------------+------------------------------------
Reporter: Suhwan | Owner:
Type: defect | Status: reopened
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: ubsan | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 1 |
------------------------------------+------------------------------------
Changes (by Cubittus):
* status: closed => reopened
* resolution: fixed =>
Comment:
This patch does not compile:
{{{
src/libavformat/rmdec.c: In function ‘rm_sync’:
src/libavformat/rmdec.c:727:36: error: invalid operands to binary >> (have
‘AVIOContext *’ {aka ‘struct AVIOContext *’} and ‘int’)
727 | mlti_id = avio_r8((pb) >> 1) - 1;
| ^~
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8143#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list