Task #119193 - added.err
back to task #119193download
Error: COMPILER_WARNING (CWE-686):
libvorbis-1.3.7/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-0583tP/CheckFunctionExists.c:7:3: warning[-Wbuiltin-declaration-mismatch]: conflicting types for built-in function ‘floor’; expected ‘double(double)’
Error: GCC_ANALYZER_WARNING (CWE-775):
libvorbis-1.3.7/test/write_read.c:53:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "wb")’
libvorbis-1.3.7/test/write_read.c:44:15: acquire_resource: opened here
libvorbis-1.3.7/test/write_read.c:44:6: branch_false: following ‘false’ branch...
libvorbis-1.3.7/test/write_read.c:51:3: branch_false: ...to here
libvorbis-1.3.7/test/write_read.c:53:9: danger: ‘fopen(filename, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
# 51| vorbis_info_init (&vi);
# 52|
# 53|-> ret = vorbis_encode_init_vbr (&vi,ch,srate,q);
# 54| if (ret) {
# 55| printf ("vorbis_encode_init_vbr return %d\n", ret) ;
Error: GCC_ANALYZER_WARNING (CWE-401):
libvorbis-1.3.7/test/write_read.c:53:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "wb")’
libvorbis-1.3.7/test/write_read.c:44:15: acquire_memory: allocated here
libvorbis-1.3.7/test/write_read.c:44:6: branch_false: following ‘false’ branch...
libvorbis-1.3.7/test/write_read.c:51:3: branch_false: ...to here
libvorbis-1.3.7/test/write_read.c:53:9: danger: ‘fopen(filename, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
# 51| vorbis_info_init (&vi);
# 52|
# 53|-> ret = vorbis_encode_init_vbr (&vi,ch,srate,q);
# 54| if (ret) {
# 55| printf ("vorbis_encode_init_vbr return %d\n", ret) ;
Error: GCC_ANALYZER_WARNING (CWE-775):
libvorbis-1.3.7/test/write_read.c:163:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libvorbis-1.3.7/test/write_read.c:151:15: acquire_resource: opened here
libvorbis-1.3.7/test/write_read.c:151:6: branch_false: following ‘false’ branch...
libvorbis-1.3.7/test/write_read.c:156:3: branch_false: ...to here
libvorbis-1.3.7/test/write_read.c:165:7: branch_true: following ‘true’ branch...
libvorbis-1.3.7/test/write_read.c:166:9: branch_true: ...to here
libvorbis-1.3.7/test/write_read.c:163:5: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
# 161| buffer = ogg_sync_buffer (&oy,8192);
# 162| bytes = fread (buffer,1,8192,file);
# 163|-> ogg_sync_wrote (&oy,bytes);
# 164|
# 165| if(ogg_sync_pageout (&oy,&og) != 1) {
Error: GCC_ANALYZER_WARNING (CWE-401):
libvorbis-1.3.7/test/write_read.c:163:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libvorbis-1.3.7/test/write_read.c:151:15: acquire_memory: allocated here
libvorbis-1.3.7/test/write_read.c:151:6: branch_false: following ‘false’ branch...
libvorbis-1.3.7/test/write_read.c:156:3: branch_false: ...to here
libvorbis-1.3.7/test/write_read.c:165:7: branch_true: following ‘true’ branch...
libvorbis-1.3.7/test/write_read.c:166:9: branch_true: ...to here
libvorbis-1.3.7/test/write_read.c:163:5: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
# 161| buffer = ogg_sync_buffer (&oy,8192);
# 162| bytes = fread (buffer,1,8192,file);
# 163|-> ogg_sync_wrote (&oy,bytes);
# 164|
# 165| if(ogg_sync_pageout (&oy,&og) != 1) {