Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavformat/rtpenc_vc2hq.c:22: included_from: Included from here.
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/golomb.h: scope_hint: In function ‘get_interleaved_ue_golomb’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:222:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gc.buffer_end’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:362:23: note: in expansion of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:191:5: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:211:36: note: in expansion of macro ‘UPDATE_CACHE_BE_EXT’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:225:33: note: in expansion of macro ‘UPDATE_CACHE_BE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/golomb.h:175:5: note: in expansion of macro ‘UPDATE_CACHE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:362:23: note: in expansion of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavformat/rtpenc_vc2hq.c:60:14: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavformat/rtpenc_vc2hq.c:24: included_from: Included from here.
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavformat/rtpenc_vc2hq.c:25: included_from: Included from here.
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:222:57: note: in definition of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:191:5: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:211:36: note: in expansion of macro ‘UPDATE_CACHE_BE_EXT’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:225:33: note: in expansion of macro ‘UPDATE_CACHE_BE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/golomb.h:175:5: note: in expansion of macro ‘UPDATE_CACHE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:222:57: note: in definition of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:191:5: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:211:36: note: in expansion of macro ‘UPDATE_CACHE_BE_EXT’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:225:33: note: in expansion of macro ‘UPDATE_CACHE_BE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/golomb.h:175:5: note: in expansion of macro ‘UPDATE_CACHE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:362:23: note: in expansion of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:191:5: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:211:36: note: in expansion of macro ‘UPDATE_CACHE_BE_EXT’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:225:33: note: in expansion of macro ‘UPDATE_CACHE_BE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/golomb.h:175:5: note: in expansion of macro ‘UPDATE_CACHE’
#  220|   union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias;
#  221|   
#  222|-> #   define AV_RN(s, p) (((const union unaligned_##s *) (p))->l)
#  223|   #   define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v))
#  224|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/bytestream.h:31: included_from: Included from here.
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/pcx.c:26: included_from: Included from here.
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h: scope_hint: In function ‘get_bits’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:222:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s.buffer’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:362:23: note: in expansion of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:191:5: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:211:36: note: in expansion of macro ‘UPDATE_CACHE_BE_EXT’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:225:33: note: in expansion of macro ‘UPDATE_CACHE_BE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:340:5: note: in expansion of macro ‘UPDATE_CACHE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/bytestream.h:99:1: note: in expansion of macro ‘DEF’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/bytestream.h:99:1: note: in expansion of macro ‘DEF’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/pcx.c: scope_hint: In function ‘get_bits’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/bytestream.h:99:1: note: in expansion of macro ‘DEF’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/bytestream.h:99:1: note: in expansion of macro ‘DEF’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/pcx.c: scope_hint: In function ‘get_bits’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/pcx.c:29: included_from: Included from here.
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:222:57: note: in definition of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:191:5: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:211:36: note: in expansion of macro ‘UPDATE_CACHE_BE_EXT’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:225:33: note: in expansion of macro ‘UPDATE_CACHE_BE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:340:5: note: in expansion of macro ‘UPDATE_CACHE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:222:57: note: in definition of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:191:5: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:211:36: note: in expansion of macro ‘UPDATE_CACHE_BE_EXT’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:225:33: note: in expansion of macro ‘UPDATE_CACHE_BE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:340:5: note: in expansion of macro ‘UPDATE_CACHE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:362:23: note: in expansion of macro ‘AV_RN’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:387:39: note: in expansion of macro ‘AV_RN32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavutil/intreadwrite.h:414:26: note: in expansion of macro ‘AV_RB’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:191:5: note: in expansion of macro ‘AV_RB32’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:211:36: note: in expansion of macro ‘UPDATE_CACHE_BE_EXT’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:225:33: note: in expansion of macro ‘UPDATE_CACHE_BE’
ffmpeg-7.0.2-build/ffmpeg-7.0.2/libavcodec/get_bits.h:340:5: note: in expansion of macro ‘UPDATE_CACHE’
#  220|   union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias;
#  221|   
#  222|-> #   define AV_RN(s, p) (((const union unaligned_##s *) (p))->l)
#  223|   #   define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v))
#  224|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-9.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-nameffmpeg-7.0.2-7.fc41
diffbase-store-results-to/tmp/tmp9b7faaee/ffmpeg-7.0.2-7.fc41.tar.xz
diffbase-time-created2024-11-12 23:50:28
diffbase-time-finished2024-11-13 00:13:35
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp9b7faaee/ffmpeg-7.0.2-7.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp9b7faaee/ffmpeg-7.0.2-7.fc41.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-9.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameffmpeg-7.0.2-6.fc42
store-results-to/tmp/tmp3off0s9c/ffmpeg-7.0.2-6.fc42.tar.xz
time-created2024-11-13 00:14:06
time-finished2024-11-13 00:36:49
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp3off0s9c/ffmpeg-7.0.2-6.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp3off0s9c/ffmpeg-7.0.2-6.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9