#7982(undetermined:new): null pointer passed at frame_thread_encoder.c:213 and undefined behaviour at r210enc.c
#7982: null pointer passed at frame_thread_encoder.c:213 and undefined behaviour at r210enc.c -------------------------------------+------------------------------------- Reporter: Suhwan | Type: defect Status: new | Priority: important Component: | Version: git- undetermined | master Keywords: crash, | Blocked By: r210enc | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: There's two null pointer passed as argument at libavcodec/frame_thread_encoder.c:213:20: and undefined behaviour at libavcodec/r210enc.c:69:28. (left shift of 522 by 22) How to reproduce: {{{ Run following cmd: % ffmpeg_g -t 3 -y -i tmp.avi -map 0 -c:s:1 h263p -c:v r10k -disposition:a r10k -disposition:s adpcm_adx -vframes 64 -aframes 81 tmp_.adx ffmpeg version N-94142-g3b2082c663 Copyright (c) 2000-2019 the FFmpeg developers built with clang version 9.0.0 (https://github.com/llvm/llvm-project.git 442a120567a4bc6c59bc754f9edabfb770086f36) }}} Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7982> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7982: null pointer passed at frame_thread_encoder.c:213 and undefined behaviour at r210enc.c -------------------------------------+------------------------------------- Reporter: Suhwan | Owner: Type: defect | Status: new Priority: important | Component: | undetermined Version: git-master | Resolution: Keywords: crash, | Blocked By: r210enc | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Suhwan): * Attachment "tmp.avi" added. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7982> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7982: null pointer passed at frame_thread_encoder.c:213 and undefined behaviour at r210enc.c -------------------------------------+------------------------------------- Reporter: Suhwan | Owner: Type: defect | Status: new Priority: important | Component: | undetermined Version: git-master | Resolution: Keywords: crash, | Blocked By: r210enc | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Suhwan): * Attachment "gdb_log_7982" added. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7982> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7982: Invalid left shift encoding r10k ------------------------------------+----------------------------------- Reporter: Suhwan | Owner: Type: defect | Status: open Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: r10k ubsan | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * keywords: crash, r210enc => r10k ubsan * status: new => open * component: undetermined => avcodec * reproduced: 0 => 1 Comment: Patch sent. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7982#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7982: Invalid left shift encoding r10k ------------------------------------+----------------------------------- Reporter: Suhwan | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: r10k ubsan | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: Should be fixed in 2828f5b0d8e432ccd686e3c28ff68348d8a45f7e -- Ticket URL: <https://trac.ffmpeg.org/ticket/7982#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7982: Invalid left shift encoding r10k ------------------------------------+----------------------------------- Reporter: Suhwan | Owner: Type: defect | Status: closed Priority: important | Component: avcodec Version: git-master | Resolution: fixed Keywords: r10k ubsan | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by kamasubb): Please confirm if version 4.0.0 of ffmpeg is affected by the above described vulnerability? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7982#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg