PVS-Studio Analysis Results


Date:12/19/21 18:13:45
PVS-Studio Version:7.16.55368.3308
Total Warnings (GA):2253
Total Warnings (OP):667
Total Warnings (64):337
Fails/Info:1
Group Projects Location Level Code CWE Message

High Renew Your license will expire in 2 days. Click 'Renew' to learn more or contact us at support@viva64.com. This is an information message. You can continue using the analyzer with your current license.
64-bit errors

BaseClasses

cprop.cpp:272 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

cprop.cpp:280 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

dllentry.cpp:371 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

dllsetup.cpp:43 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

dllsetup.cpp:181 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

dllsetup.cpp:195 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

dllsetup.cpp:404 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'strlen' function.
64-bit errors

BaseClasses

dllsetup.cpp:560 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'strlen' function.
64-bit errors

BaseClasses

winctrl.cpp:163 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winctrl.cpp:237 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

winctrl.cpp:291 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winctrl.cpp:677 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winctrl.cpp:683 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:174 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:252 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:253 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:442 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:442 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

BaseClasses

winutil.cpp:976 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

winutil.cpp:980 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

winutil.cpp:987 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:208 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:736 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'strlen' function.
64-bit errors

BaseClasses

wxdebug.cpp:861 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1153 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1158 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1163 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1166 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1195 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1200 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

BaseClasses

wxdebug.cpp:1216 Medium V303 The function 'lstrlen' is deprecated in the Win64 system. It is safer to use the 'wcslen' function.
64-bit errors

Bento4

Ap4Array.h:67 Medium V302 Member operator[] of 'AP4_Array' class has a 32-bit type argument. Use memsize-type here.
64-bit errors

Bento4

Ap4Array.h:68 Medium V302 Member operator[] of 'AP4_Array' class has a 32-bit type argument. Use memsize-type here.
64-bit errors

coolsb

coolsblib.c:206 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:211 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:522 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:534 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:535 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:545 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolsblib.c:546 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:764 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:1549 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:1559 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:1566 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:2697 High V303 The function 'GetWindowLong' is deprecated in the Win64 system. It is safer to use the 'GetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:2703 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

coolsb

coolscroll.c:2712 High V303 The function 'SetWindowLong' is deprecated in the Win64 system. It is safer to use the 'SetWindowLongPtr' function.
64-bit errors

Detours

image.cpp:1013 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1035 Medium V303 The function 'GetFileSize' is deprecated in the Win64 system. It is safer to use the 'GetFileSizeEx' function.
64-bit errors

Detours

image.cpp:1616 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1632 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1653 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1673 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1900 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1939 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1969 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:1990 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:2002 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:2009 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

Detours

image.cpp:2019 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

lcms2

cmscgats.c:2303 Medium V124 Function 'fread' reads '132' bytes. The alignment rules and type sizes have been changed. Consider reviewing this value.
64-bit errors

lcms2

cmserr.c:56 Medium V303 The function 'ftell' is deprecated in the Win64 system. It is safer to use the '_ftelli64' function.
64-bit errors

lcms2

cmserr.c:60 Medium V303 The function 'fseek' is deprecated in the Win64 system. It is safer to use the '_fseeki64' function.
64-bit errors

lcms2

cmserr.c:64 Medium V303 The function 'ftell' is deprecated in the Win64 system. It is safer to use the '_ftelli64' function.
64-bit errors

lcms2

cmserr.c:65 Medium V303 The function 'fseek' is deprecated in the Win64 system. It is safer to use the '_fseeki64' function.
64-bit errors

lcms2

cmsio0.c:331 Medium V303 The function 'fseek' is deprecated in the Win64 system. It is safer to use the '_fseeki64' function.
64-bit errors

lcms2

cmsio0.c:344 Medium V303 The function 'ftell' is deprecated in the Win64 system. It is safer to use the '_ftelli64' function.
64-bit errors

libflac

bitreader.c:805 Low V127 An overflow of the 32-bit 'cwords' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitreader.c:810 Low V127 An overflow of the 32-bit 'x' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitreader.c:825 Low V127 An overflow of the 32-bit 'cwords' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitreader.c:829 Low V127 An overflow of the 32-bit 'ucbits' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitreader.c:853 Low V127 An overflow of the 32-bit 'msbs' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libflac

bitwise.c:41 Medium V118 malloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libflac

bitwise.c:88 Medium V118 realloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libflac

bitwise.c:131 Medium V118 realloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libflac

stream_decoder.c:275 Medium V118 malloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libpng

pngerror.c:189 Low V127 An overflow of the 32-bit 'count' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libpng

pngrtran.c:2353 Low V127 An overflow of the 32-bit 'channel' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libpng

pngrtran.c:2373 Low V127 An overflow of the 32-bit 'channel' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libpng

pngrutil.c:4034 Low V127 An overflow of the 32-bit 'a' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

libpng

pngset.c:1019 Medium V118 png_malloc() function accepts a dangerous expression in the capacity of an argument.
64-bit errors

libsoxr

pffft-wrap.c:54 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(a)
64-bit errors

libsoxr

pffft-wrap.c:54 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(ab)
64-bit errors

libsoxr

pffft-wrap.c:54 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(b)
64-bit errors

libsoxr

pffft.c:1673 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(finput)
64-bit errors

libsoxr

pffft.c:1673 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(foutput)
64-bit errors

libsoxr

util-simd.c:53 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(a)
64-bit errors

libsoxr

util-simd.c:53 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(b)
64-bit errors

libsoxr

util-simd.c:76 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(a)
64-bit errors

libsoxr

util-simd.c:76 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)(b)
64-bit errors

MediaInfo

File_Adm.cpp:55 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: 'sizeof (profile_names)'.
64-bit errors

MediaInfo

File_MpegPs.cpp:554 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize.
64-bit errors

MediaInfo

File_Mxf.cpp:3490 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: 'StreamPos'.
64-bit errors

MediaInfo

File_Riff_Elements.cpp:3560 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: 'sizeof (profile_names)'.
64-bit errors

MediaInfo

File_Id3v2.cpp:513 Medium V127 An overflow of the 32-bit 'Size' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

MediaInfo

File_Ffv1.cpp:1822 Medium V127 An overflow of the 32-bit 'v' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

MediaInfo

File_Ffv1.cpp:1744 Low V127 An overflow of the 32-bit 'Value' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

mfx_dispatch

mfx_library_iterator.cpp:391 High V114 Dangerous explicit type pointer conversion: (DWORD *) & pathSize
64-bit errors

mfx_dispatch

mfx_vector.h:138 Medium V127 An overflow of the 32-bit 'i' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

mfx_dispatch

mfx_vector.h:154 Medium V302 Member operator[] of 'MFXVector' class has a 32-bit type argument. Use memsize-type here.
64-bit errors

speex

cb_search.c:141 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:143 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:144 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:149 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:150 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:235 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:304 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:305 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:306 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:307 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:315 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:317 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:318 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:323 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:324 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:325 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:327 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:335 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:336 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:337 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:338 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:339 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:340 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:342 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:510 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:545 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:546 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:599 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search.c:141 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:143 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:144 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:149 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:150 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:235 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:304 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:305 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:306 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:307 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:315 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:317 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:318 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:323 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:324 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:325 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:327 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:335 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:336 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:337 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:338 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:339 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:340 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:342 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:510 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:545 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:546 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search.c:599 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search_sse.h:60 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search_sse.h:61 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

cb_search_sse.h:60 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

cb_search_sse.h:61 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:392 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:404 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:421 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:422 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:458 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:459 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:499 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:500 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:721 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

filters.c:392 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:404 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:421 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:422 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:458 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:459 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:499 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:500 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

filters.c:721 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:246 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:247 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:303 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:304 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:536 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:551 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

lsp.c:246 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:247 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:303 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:304 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:536 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

lsp.c:551 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:198 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:199 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:204 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:205 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:382 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:383 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:399 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:581 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:618 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:619 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:620 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:788 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp.c:198 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:199 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:204 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:205 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:382 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:383 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:399 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:581 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:618 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:619 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:620 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp.c:788 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp_sse.h:65 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp_sse.h:66 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

ltp_sse.h:65 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

ltp_sse.h:66 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:439 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:440 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:441 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:442 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:443 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:444 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:445 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:446 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:447 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:461 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:462 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:795 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:796 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:797 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:798 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:799 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:998 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1459 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1479 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1533 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1534 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1535 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1660 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:1716 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

nb_celp.c:439 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:440 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:441 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:442 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:443 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:444 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:445 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:446 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:447 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:461 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:462 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:795 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:796 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:797 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:798 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:799 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:998 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1459 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1479 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1533 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1534 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1535 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1660 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

nb_celp.c:1716 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:565 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:575 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:576 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:587 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:588 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:589 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:590 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:592 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:593 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:594 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:595 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:600 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:601 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:757 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:758 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:759 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:760 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:775 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:776 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:777 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:915 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1303 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1304 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1308 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1309 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1318 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1332 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:1401 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

sb_celp.c:565 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:575 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:576 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:587 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:588 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:589 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:590 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:592 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:593 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:594 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:595 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:600 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:601 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:757 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:758 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:759 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:760 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:775 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:776 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:777 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:915 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1303 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1304 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1308 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1309 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1318 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1332 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

sb_celp.c:1401 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

vq_sse.h:43 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

vq_sse.h:45 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

vq_sse.h:82 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

vq_sse.h:84 High V205 Explicit conversion of pointer type to 32-bit integer type: (long)((stack))
64-bit errors

speex

vq_sse.h:43 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

vq_sse.h:45 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

vq_sse.h:82 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

speex

vq_sse.h:84 High V220 Suspicious sequence of types castings: memsize -> 32-bit integer -> memsize. The value being cast: '((stack))'.
64-bit errors

ZenLib

File.cpp:980 Medium V303 The function 'SetFilePointer' is deprecated in the Win64 system. It is safer to use the 'SetFilePointerEx' function.
64-bit errors

ZenLib

Http_Request.cpp:222 Medium V128 The 'Http->Response_HTTP_Code' variable of the memsize type is written to a stream. Consider verifying the compatibility of 32 and 64 bit versions of the application in the context of a stored data.
64-bit errors

ZenLib

Http_Request.cpp:235 Medium V128 The 'Http->Response_Body.size()' variable of the memsize type is written to a stream. Consider verifying the compatibility of 32 and 64 bit versions of the application in the context of a stored data.
64-bit errors

zlib

adler32.c:91 Medium V127 An overflow of the 32-bit 'adler' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

zlib

adler32.c:92 Medium V127 An overflow of the 32-bit 'sum2' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

zlib

adler32.c:120 Medium V127 An overflow of the 32-bit 'adler' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
64-bit errors

zlib

adler32.c:121 Medium V127 An overflow of the 32-bit 'sum2' variable is possible inside a long cycle which utilizes a memsize-type loop counter.
General Analysis

AsyncReader

asyncio.cpp:176 Medium V668 CWE-570 There is no sense in testing the 'pRequest' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

AsyncReader

asyncio.cpp:459 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

AsyncReader

asyncrdr.cpp:123 High V773 CWE-401 The function was exited without releasing the 'pMemObject' pointer. A memory leak is possible.
General Analysis

AsyncReader

asyncrdr.cpp:149 Medium V547 CWE-571 Expression 'pPreferred' is always true.
General Analysis

AsyncReader

asyncrdr.cpp:104 Medium V668 CWE-570 There is no sense in testing the 'pMemObject' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

AsyncReader

asyncrdr.cpp:234 Low V519 CWE-563 The 'hr' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 212, 234.
General Analysis

AsyncReader

asyncrdr.cpp:291 Low V519 CWE-563 The 'hr' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 269, 291.
General Analysis

BaseClasses

amfilter.cpp:3796 High V568 CWE-131 It's odd that 'sizeof()' operator evaluates the size of a pointer to a class, but not the size of the class object.
General Analysis

BaseClasses

amfilter.cpp:3839 High V568 CWE-131 It's odd that 'sizeof()' operator evaluates the size of a pointer to a class, but not the size of the class object.
General Analysis

BaseClasses

amfilter.cpp:3259 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_pNext, m_Start, m_End, m_MediaStart, m_MediaEnd.
General Analysis

BaseClasses

amfilter.cpp:3290 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_pNext, m_Start, m_End, m_MediaStart, m_MediaEnd.
General Analysis

BaseClasses

amfilter.cpp:4649 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

amfilter.cpp:780 Medium V668 CWE-571 There is no sense in testing the 'm_pName' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

amfilter.cpp:1521 Medium V668 CWE-571 There is no sense in testing the 'm_pName' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

amfilter.cpp:1573 Medium V668 CWE-571 There is no sense in testing the 'm_pName' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

amfilter.cpp:5211 Medium V668 CWE-570 There is no sense in testing the 'pSample' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

amfilter.cpp:3730 Low V1003 The macro 'CONTAINS_FIELD' is a dangerous expression. The parameter 'offset' must be surrounded by parentheses.
General Analysis

BaseClasses

amfilter.cpp:1069 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1106 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1162 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1318 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1352 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:1429 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'AreWeOutOfSync() != FALSE'.
General Analysis

BaseClasses

amfilter.cpp:5086 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bCommitted != FALSE'.
General Analysis

BaseClasses

amfilter.h:353 Medium V703 It is odd that the 'm_cRef' field in derived class 'CBasePin' overwrites field in base class 'CUnknown'. Check lines: amfilter.h:353, combase.h:217.
General Analysis

BaseClasses

amvideo.cpp:75 Low V1048 CWE-1164 The 'pMask' variable was assigned the same value.
General Analysis

BaseClasses

arithutil.cpp:186 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'ulic.QuadPart' should be checked here.
General Analysis

BaseClasses

arithutil.cpp:346 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'uliDividend.LowPart' should be checked here.
General Analysis

BaseClasses

combase.cpp:130 Medium V665 Possibly, the usage of '#pragma warning(default: X)' is incorrect in this context. The '#pragma warning(push/pop)' should be used instead. Check lines: 87, 130.
General Analysis

BaseClasses

ctlutil.cpp:1831 High V745 CWE-704 A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function.
General Analysis

BaseClasses

ctlutil.cpp:1274 Medium V560 CWE-571 A part of conditional expression is always true: (((HRESULT)(hr)) >= 0).
General Analysis

BaseClasses

ctlutil.cpp:1764 Medium V668 CWE-570 There is no sense in testing the 'rgvarg' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

ctlutil.cpp:1828 Medium V668 CWE-571 There is no sense in testing the 'pch' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

ctlutil.cpp:2212 Medium V668 CWE-570 There is no sense in testing the 'pCmd' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

ctlutil.cpp:1143 Low V524 It is odd that the body of 'IsUsingTimeFormat' function is fully equivalent to the body of 'IsFormatSupported' function.
General Analysis

BaseClasses

ctlutil.cpp:1149 Low V524 It is odd that the body of 'GetTimeFormatW' function is fully equivalent to the body of 'QueryPreferredFormat' function.
General Analysis

BaseClasses

ctlutil.cpp:791 Low V550 CWE-682 An odd precise comparison: 0.0 == dRate. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

BaseClasses

ctlutil.cpp:927 Low V550 CWE-682 An odd precise comparison: 0.0 == dRate. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

BaseClasses

ctlutil.cpp:1039 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bReset != FALSE'.
General Analysis

BaseClasses

ctlutil.cpp:1073 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bReset != FALSE'.
General Analysis

BaseClasses

dllentry.cpp:281 Medium V547 CWE-571 Expression 'hLib' is always true.
General Analysis

BaseClasses

dllentry.cpp:209 Low V572 CWE-665 It is odd that the object which was created using 'new' operator is immediately cast to another type.
General Analysis

BaseClasses

dllsetup.cpp:490 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pIFM'.
General Analysis

BaseClasses

msgthrd.h:82 Medium V720 It is advised to utilize the 'SuspendThread' function only when developing a debugger (see documentation for details).
General Analysis

BaseClasses

mtype.cpp:90 Low V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

outputq.cpp:651 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

outputq.cpp:98 Medium V668 CWE-570 There is no sense in testing the 'm_ppSamples' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

outputq.cpp:117 Medium V668 CWE-570 There is no sense in testing the 'm_List' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

outputq.cpp:417 Medium V668 CWE-570 There is no sense in testing the 'ppack' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

outputq.cpp:426 Low V1027 CWE-704 Pointer to an object of the 'NewSegmentPacket' class is cast to unrelated 'IMediaSample' class.
General Analysis

BaseClasses

outputq.cpp:124 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

BaseClasses

outputq.cpp:367 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'ppacket'.
General Analysis

BaseClasses

pullpin.cpp:19 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_tStart, m_tStop, m_tDuration, m_bSync.
General Analysis

BaseClasses

refclock.cpp:88 Medium V668 CWE-570 There is no sense in testing the 'm_pSchedule' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

refclock.cpp:113 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

BaseClasses

reftime.h:49 Low V690 The 'CRefTime' class implements the copy assignment operator, but lacks a copy constructor. It is dangerous to use such a class.
General Analysis

BaseClasses

renbase.cpp:205 High V510 CWE-686 The 'DbgLogInfo' function is not expected to receive class-type variable as fourth actual argument.
General Analysis

BaseClasses

renbase.cpp:214 High V510 CWE-686 The 'DbgLogInfo' function is not expected to receive class-type variable as fourth actual argument.
General Analysis

BaseClasses

renbase.cpp:227 High V510 CWE-686 The 'DbgLogInfo' function is not expected to receive class-type variable as fourth actual argument.
General Analysis

BaseClasses

renbase.cpp:122 Medium V668 CWE-570 There is no sense in testing the 'm_pPosition' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

renbase.cpp:624 Medium V668 CWE-570 There is no sense in testing the 'm_pInputPin' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

renbase.cpp:900 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'm_pClock'.
General Analysis

BaseClasses

renbase.cpp:157 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'bCanWait != FALSE'.
General Analysis

BaseClasses

renbase.cpp:371 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsEndOfStream() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:378 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'HaveCurrentSample() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1074 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsActive() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1076 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_pInputPin->IsConnected() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1094 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bStreaming != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1369 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bStreaming != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1410 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bStreaming != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1472 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_pInputPin->IsConnected() != FALSE'.
General Analysis

BaseClasses

renbase.cpp:1475 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bRepaintStatus != FALSE'.
General Analysis

BaseClasses

renbase.h:247 Low V1003 The macro 'DO_MOVING_AVG' is a dangerous expression. The parameters 'avg', 'obs' must be surrounded by parentheses.
General Analysis

BaseClasses

schedule.cpp:101 Medium V668 CWE-571 There is no sense in testing the 'p' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

schedule.cpp:169 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'pAdvise->m_bPeriodic != FALSE'.
General Analysis

BaseClasses

schedule.h:43 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_next, m_dwAdviseCookie, m_rtEventTime, m_rtPeriod, m_hNotify, m_bPeriodic.
General Analysis

BaseClasses

schedule.h:53 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwAdviseCookie, m_rtPeriod, m_hNotify, m_bPeriodic.
General Analysis

BaseClasses

seekpt.cpp:72 Medium V668 CWE-570 There is no sense in testing the 'm_pPosPassThru' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

source.cpp:420 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 420, 433
General Analysis

BaseClasses

source.cpp:85 Medium V668 CWE-570 There is no sense in testing the 'paStreams' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

source.cpp:67 Medium V776 CWE-835 Potentially infinite loop. The variable in the loop exit condition 'm_iPins != 0' does not change its value between iterations.
General Analysis

BaseClasses

source.h:138 Medium V762 CWE-670 It is possible a virtual function was overridden incorrectly. See first argument of function 'Run' in derived class 'CSourceStream' and base class 'CBasePin'.
General Analysis

BaseClasses

strmctl.cpp:13 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_bStopExtraSent, m_pSink, m_tRunStart.
General Analysis

BaseClasses

transfrm.cpp:457 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'm_pOutput'.
General Analysis

BaseClasses

transfrm.cpp:109 Low V572 CWE-665 It is odd that the object which was created using 'new' operator is immediately cast to another type.
General Analysis

BaseClasses

transip.cpp:570 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

vtrans.cpp:14 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_bNoSkip, m_nWaitForKey.
General Analysis

BaseClasses

vtrans.h:138 Medium V703 It is odd that the 'm_bQualityChanged' field in derived class 'CVideoTransformFilter' overwrites field in base class 'CTransformFilter'. Check lines: vtrans.h:138, transfrm.h:277.
General Analysis

BaseClasses

winctrl.cpp:243 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'bVisible != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:326 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsWindowVisible(m_hwnd) != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:329 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsIconic(m_hwnd) != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:334 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'IsZoomed(m_hwnd) != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:429 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'Mode != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:900 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

BaseClasses

winctrl.cpp:996 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bAutoShow != FALSE'.
General Analysis

BaseClasses

winctrl.cpp:1081 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bCursorHidden != FALSE'.
General Analysis

BaseClasses

winctrl.h:14 Low V1003 The macro 'ABSOL' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

BaseClasses

winctrl.h:15 Low V1003 The macro 'NEGAT' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

BaseClasses

winutil.cpp:2178 High V512 CWE-682 A call of the 'memset' function will lead to underflow of the buffer '& m_Display'.
General Analysis

BaseClasses

winutil.cpp:1667 High V595 CWE-476 The 'm_pMediaType' pointer was utilized before it was verified against nullptr. Check lines: 1667, 1668.
General Analysis

BaseClasses

winutil.cpp:20 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Width, m_Height, m_RealizePalette.
General Analysis

BaseClasses

winutil.cpp:1456 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_pMediaType.
General Analysis

BaseClasses

winutil.cpp:1737 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_DibData.
General Analysis

BaseClasses

winutil.cpp:2343 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 2332, 2343.
General Analysis

BaseClasses

winutil.cpp:1630 Medium V668 CWE-570 There is no sense in testing the 'pSample' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

winutil.cpp:2033 Medium V668 CWE-570 There is no sense in testing the 'lp' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

winutil.cpp:999 Low V1027 CWE-704 Pointer to an object of the 'tagBITMAPINFOHEADER' class is cast to unrelated 'tagRGBQUAD' class.
General Analysis

BaseClasses

winutil.cpp:2566 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2566, 2567
General Analysis

BaseClasses

winutil.cpp:2565 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'bits555', 'bits888', 'bits888' in lines 2565, 2566, 2567.
General Analysis

BaseClasses

winutil.cpp:54 Low V547 CWE-571 Expression 'm_hwnd == 0' is always true.
General Analysis

BaseClasses

winutil.cpp:976 Low V547 CWE-571 Expression 'lstrlenW(szTimes) < TIMELENGTH' is always true.
General Analysis

BaseClasses

winutil.cpp:236 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bActivated != FALSE'.
General Analysis

BaseClasses

winutil.cpp:280 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bActivated != FALSE'.
General Analysis

BaseClasses

winutil.cpp:1764 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'm_bInit != FALSE'.
General Analysis

BaseClasses

winutil.cpp:1828 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'ContainsPalette(pNewInfo) != FALSE'.
General Analysis

BaseClasses

winutil.cpp:1829 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'ContainsPalette(pOldInfo) != FALSE'.
General Analysis

BaseClasses

winutil.cpp:2024 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'ContainsPalette(pVideoInfo) != FALSE'.
General Analysis

BaseClasses

wxdebug.cpp:1238 High V603 CWE-665 The object was created but it is not being used. If you wish to call constructor, 'this->CDisp::CDisp(....)' should be used.
General Analysis

BaseClasses

wxdebug.cpp:1302 High V646 CWE-670 Consider inspecting the application's logic. It's possible that 'else' keyword is missing.
General Analysis

BaseClasses

wxdebug.cpp:199 Medium V557 CWE-119 Array overrun is possible. The value of 'lKeyPos' index could reach 10.
General Analysis

BaseClasses

wxdebug.cpp:315 Medium V560 CWE-571 A part of conditional expression is always true: szFile[0].
General Analysis

BaseClasses

wxdebug.cpp:901 Medium V668 CWE-570 There is no sense in testing the 'pObject' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxdebug.cpp:1196 Medium V668 CWE-570 There is no sense in testing the 'm_pString' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxdebug.cpp:1219 Medium V668 CWE-571 There is no sense in testing the 'm_pString' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxdebug.cpp:509 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

BaseClasses

wxdebug.cpp:316 Low V526 CWE-253 The 'lstrcmpiW' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

BaseClasses

wxdebug.cpp:317 Low V526 CWE-253 The 'lstrcmpiW' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

BaseClasses

wxdebug.cpp:318 Low V526 CWE-253 The 'lstrcmpiW' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

BaseClasses

wxdebug.cpp:247 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:258 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:728 Low V576 CWE-628 Incorrect format. Consider checking the sixth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:856 Low V576 CWE-628 Incorrect format. Consider checking the sixth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:1021 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:1023 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.cpp:1029 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'StringCchPrintfW' function. The SIGNED integer type argument is expected.
General Analysis

BaseClasses

wxdebug.h:292 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_String.
General Analysis

BaseClasses

wxlist.cpp:410 Medium V668 CWE-570 There is no sense in testing the 'pNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxlist.cpp:459 Medium V668 CWE-570 There is no sense in testing the 'pNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxlist.cpp:563 Medium V668 CWE-570 There is no sense in testing the 'pNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxlist.cpp:630 Medium V668 CWE-570 There is no sense in testing the 'pNode' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

BaseClasses

wxlist.cpp:341 Low V547 CWE-571 Expression 'pCurrent != 0' is always true.
General Analysis

BaseClasses

wxlist.cpp:550 Low V547 CWE-571 Expression 'pAfter != 0' is always true.
General Analysis

BaseClasses

wxlist.cpp:619 Low V547 CWE-571 Expression 'pBefore != 0' is always true.
General Analysis

BaseClasses

wxlist.h:89 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_pPrev, m_pNext, m_pObject.
General Analysis

BaseClasses

wxutil.cpp:100 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwParam, m_dwReturnVal.
General Analysis

BaseClasses

wxutil.cpp:635 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

BaseClasses

wxutil.cpp:378 Low V1003 The macro 'MEMORY_ALIGNMENT_MASK' is a dangerous expression. The expression must be surrounded by parentheses.
General Analysis

BaseClasses

wxutil.cpp:290 Low V513 CWE-676 Use _beginthreadex/_endthreadex functions instead of CreateThread/ExitThread functions.
General Analysis

Bento4

Ap4Atom.cpp:409 High V757 CWE-690 It is possible that an incorrect variable is compared with nullptr after type conversion using 'dynamic_cast'. Check lines: 409, 410.
General Analysis

Bento4

Ap4Atom.cpp:412 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'container'.
General Analysis

Bento4

Ap4Atom.cpp:184 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4AtomFactory.cpp:424 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 424, 745
General Analysis

Bento4

Ap4AtomFactory.cpp:368 Medium V519 CWE-563 The 'm_Context' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 366, 368.
General Analysis

Bento4

Ap4AtomFactory.h:62 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_TypeHandlers.
General Analysis

Bento4

Ap4AtomSampleTable.cpp:154 Medium V614 CWE-457 Potentially uninitialized variable 'offset' used.
General Analysis

Bento4

Ap4ByteStream.cpp:48 High V595 CWE-476 The 'buffer' pointer was utilized before it was verified against nullptr. Check lines: 48, 51.
General Analysis

Bento4

Ap4DataBuffer.h:40 Medium V690 The 'AP4_DataBuffer' class implements a copy constructor, but lacks the copy assignment operator. It is dangerous to use such a class.
General Analysis

Bento4

Ap4Debug.cpp:49 Medium V618 CWE-134 It's dangerous to call the 'printf' function in such a manner, as the line being passed could contain format specification. The example of the safe code: printf("%s", str);
General Analysis

Bento4

Ap4DecoderConfigDescriptor.cpp:130 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4DecoderConfigDescriptor.cpp:130 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4Descriptor.cpp:109 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4Descriptor.cpp:109 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4ElstAtom.cpp:55 Low V560 CWE-571 A part of conditional expression is always true: media_time >= 0. Unsigned type value is always >= 0.
General Analysis

Bento4

Ap4EsDescriptor.cpp:40 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_SubDescriptors.
General Analysis

Bento4

Ap4EsDescriptor.cpp:81 Medium V668 CWE-571 There is no sense in testing the 'url' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Bento4

Ap4EsDescriptor.cpp:167 Low V576 CWE-628 Incorrect format. Consider checking the fifth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4EsDescriptor.cpp:167 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The integer argument of 32-bit size is expected.
General Analysis

Bento4

Ap4File.cpp:91 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'sidxAtom'.
General Analysis

Bento4

Ap4File.cpp:47 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_FileType, m_OtherAtoms.
General Analysis

Bento4

Ap4FragmentSampleTable.cpp:132 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'sample_flags' should be checked here.
General Analysis

Bento4

Ap4HintTrackReader.cpp:317 Low V519 CWE-563 The 'result' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 314, 317.
General Analysis

Bento4

Ap4IsmaCryp.cpp:634 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_KeyEntries.
General Analysis

Bento4

Ap4IsmaCryp.cpp:573 Low V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

Bento4

Ap4MdhdAtom.cpp:88 High V575 CWE-628 The 'memset' function processes '0' elements. Inspect the third argument.
General Analysis

Bento4

Ap4MoovAtom.cpp:66 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_TrakAtoms.
General Analysis

Bento4

Ap4MoovAtom.cpp:108 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'dst'. Check lines: 108, 107.
General Analysis

Bento4

Ap4MoovAtom.cpp:107 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'dst' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

Bento4

Ap4Movie.cpp:484 High V654 CWE-834 The condition 'index >= 0' of loop is always true.
General Analysis

Bento4

Ap4Movie.cpp:82 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Tracks.
General Analysis

Bento4

Ap4Movie.cpp:557 Medium V586 CWE-675 The 'delete' operator is called twice for deallocation of the same memory space.
General Analysis

Bento4

Ap4RtpHint.cpp:299 High V502 CWE-783 Perhaps the '?:' operator works in a different way than it was expected. The '?:' operator has a lower priority than the '+' operator.
General Analysis

Bento4

Ap4RtpHint.cpp:446 High V614 CWE-457 Uninitialized buffer 'pad' used. Consider checking the first actual argument of the 'Write' function.
General Analysis

Bento4

Ap4RtpHint.cpp:495 High V614 CWE-457 Uninitialized buffer 'pad' used. Consider checking the first actual argument of the 'Write' function.
General Analysis

Bento4

Ap4RtpHint.cpp:153 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Constructors.
General Analysis

Bento4

Ap4RtpHint.h:55 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Packets.
General Analysis

Bento4

Ap4SampleEntry.cpp:354 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

Bento4

Ap4SampleEntry.cpp:60 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_Reserved1, m_DataReferenceIndex.
General Analysis

Bento4

Ap4SampleEntry.cpp:1055 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'color_count' should be checked here.
General Analysis

Bento4

Ap4SampleEntry.cpp:539 Low V519 CWE-563 The 'result' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 536, 539.
General Analysis

Bento4

Ap4SampleEntry.cpp:1072 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'ReadUI32', 'ReadUI16', 'ReadUI16' in lines 1072, 1073, 1074.
General Analysis

Bento4

Ap4SampleEntry.cpp:409 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_QtVersion, m_QtRevision, m_QtVendor, m_ChannelCount, m_SampleSize, m_QtCompressionId, ...
General Analysis

Bento4

Ap4StscAtom.cpp:99 Medium V649 CWE-561 There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 97, 99.
General Analysis

Bento4

Ap4StscAtom.cpp:101 Medium V649 CWE-561 There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 99, 101.
General Analysis

Bento4

Ap4SyntheticSampleTable.cpp:39 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_SampleDescriptions.
General Analysis

Bento4

Ap4TkhdAtom.cpp:42 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_DataVersion1.
General Analysis

Bento4

Ap4TkhdAtom.cpp:83 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_DataVersion1.
General Analysis

Bento4

Ap4Track.cpp:178 Medium V522 CWE-690 There might be dereferencing of a potential null pointer.
General Analysis

Bento4

Ap4TrakAtom.cpp:193 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'co64'.
General Analysis

Bento4

Ap4TrakAtom.cpp:199 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'stco'.
General Analysis

Bento4

Ap4Utils.cpp:343 Low V576 CWE-628 Incorrect format. Consider checking the fourth actual argument of the 'snprintf' function. The SIGNED integer type argument is expected.
General Analysis

Bento4

Ap4Utils.h:42 Low V1003 The macro 'MIN' is a dangerous expression. The parameters 'a', 'b' must be surrounded by parentheses.
General Analysis

Bento4

Ap4Utils.h:43 Low V1003 The macro 'MAX' is a dangerous expression. The parameters 'a', 'b' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:389 Low V1003 The macro '_lrotl' is a dangerous expression. The parameter 'n' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:597 Low V1003 The macro 'rf2' is a dangerous expression. The parameters 'r', 'c' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:645 Low V1003 The macro 'f2' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:646 Low V1003 The macro 'f4' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:647 Low V1003 The macro 'f8' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1435 Low V1003 The macro 'si' is a dangerous expression. The parameters 'x', 'c' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1436 Low V1003 The macro 'so' is a dangerous expression. The parameters 'y', 'c' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1696 Low V1003 The macro 'inv_var' is a dangerous expression. The parameters 'r', 'c' must be surrounded by parentheses.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:869 Low V1059 Macro name overrides the 'const' keyword. This may lead to undefined behavior.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1201 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1202 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1203 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1204 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1205 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1209 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1210 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1211 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1212 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1218 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1219 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1220 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1221 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1646 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1647 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1648 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1649 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1650 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1651 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1652 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1653 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1654 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1655 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1656 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1657 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1658 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1659 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4AesBlockCipher.cpp:1688 Low V634 CWE-783 The priority of the '*' operation is higher than that of the '>>' operation. It's possible that parentheses should be used in the expression.
General Analysis

Bento4

Ap4StreamCipher.cpp:144 Medium V519 CWE-563 The 'chunk' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 140, 144.
General Analysis

coolsb

coolsblib.c:418 High V547 CWE-570 Expression '(0) > (lpsi->nPage)' is always false. Unsigned type value is never < 0.
General Analysis

coolsb

coolsblib.c:549 Medium V547 CWE-570 Expression 'bFailed' is always false.
General Analysis

coolsb

coolsblib.c:425 Medium V555 CWE-191 The expression '(mysi->nPage - 1) > (0)' will work as 'mysi->nPage != 1'.
General Analysis

coolsb

coolsblib.c:486 Medium V555 CWE-191 The expression '(mysi->nPage - 1) > (0)' will work as 'mysi->nPage != 1'.
General Analysis

coolsb

coolsblib.c:430 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'sbar'.
General Analysis

coolsb

coolsblib.c:531 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'fShow != FALSE'.
General Analysis

coolsb

coolsblib.c:542 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'fShow != FALSE'.
General Analysis

coolsb

coolscroll.c:1434 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

coolsb

coolscroll.c:3176 High V547 CWE-571 Expression 'message == 0x007D' is always true.
General Analysis

coolsb

coolscroll.c:877 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:894 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:914 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:933 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:970 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:990 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1002 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1016 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1032 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1042 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1056 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:1592 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:2318 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:2330 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:2342 Medium V547 CWE-570 Expression 'fCustomDraw' is always false.
General Analysis

coolsb

coolscroll.c:163 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

coolsb

coolscroll.c:2131 Medium V763 Parameter 'lParam' is always rewritten in function body before being used.
General Analysis

coolsb

coolscroll.c:2414 Medium V763 Parameter 'lParam' is always rewritten in function body before being used.
General Analysis

coolsb

coolscroll.c:684 Medium V764 CWE-683 Possible incorrect order of arguments passed to 'GetHorzScrollPortion' function: 'y' and 'x'.
General Analysis

coolsb

coolscroll.c:1708 Medium V764 CWE-683 Possible incorrect order of arguments passed to 'GetHorzPortion' function: 'y' and 'x'.
General Analysis

coolsb

coolscroll.c:2390 Medium V764 CWE-683 Possible incorrect order of arguments passed to 'ThumbTrackHorz' function: 'y' and 'x'.
General Analysis

coolsb

coolscroll.c:2060 Medium V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

coolsb

coolscroll.c:324 Low V524 It is odd that the body of 'GetSBBackColor' function is fully equivalent to the body of 'GetSBForeColor' function.
General Analysis

coolsb

coolscroll.c:2206 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'sw->fThumbTracking != FALSE'.
General Analysis

coolsb

coolscroll.c:2411 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'sw->fThumbTracking != FALSE'.
General Analysis

Detours

creatwth.cpp:733 Medium V547 CWE-571 Expression 'bIs64BitOS' is always true.
General Analysis

Detours

creatwth.cpp:777 Medium V547 CWE-570 Expression 'hModule == 0' is always false.
General Analysis

Detours

creatwth.cpp:1271 Medium V560 CWE-570 A part of conditional expression is always false: cOffset + 65536 < cSize.
General Analysis

Detours

creatwth.cpp:1255 Medium V668 CWE-570 There is no sense in testing the 'Helper' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

detours.cpp:1867 High V568 CWE-131 It's odd that 'sizeof()' operator evaluates the size of a pointer to a class, but not the size of the 'o->pTrampoline' class object.
General Analysis

Detours

detours.cpp:1620 High V595 CWE-476 The 'o->pTrampoline' pointer was utilized before it was verified against nullptr. Check lines: 1620, 1624.
General Analysis

Detours

detours.cpp:1906 High V595 CWE-476 The 'o->pTrampoline' pointer was utilized before it was verified against nullptr. Check lines: 1906, 1909.
General Analysis

Detours

detours.cpp:1350 Medium V560 CWE-571 A part of conditional expression is always true: pbTry == 0.
General Analysis

Detours

detours.cpp:1431 Medium V560 CWE-571 A part of conditional expression is always true: s_pRegion != 0.
General Analysis

Detours

detours.cpp:1963 Medium V668 CWE-570 There is no sense in testing the 't' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

detours.cpp:2084 Medium V668 CWE-570 There is no sense in testing the 'o' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

detours.cpp:2386 Medium V668 CWE-570 There is no sense in testing the 'o' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

detours.cpp:1976 Medium V720 It is advised to utilize the 'SuspendThread' function only when developing a debugger (see documentation for details).
General Analysis

Detours

detours.cpp:426 Low V522 CWE-628 Dereferencing of the null pointer 'pbCode' might take place. The potential null pointer is passed into 'detour_alloc_trampoline' function. Inspect the first argument. Check lines: 426, 1405, 2111.
General Analysis

Detours

detours.cpp:456 Low V522 CWE-628 Dereferencing of the null pointer 'pbCode' might take place. The potential null pointer is passed into 'detour_does_code_end_function' function. Inspect the first argument. Check lines: 456, 2188.
General Analysis

Detours

detours.cpp:2453 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pTrampoline'.
General Analysis

Detours

detours.cpp:56 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PVOID)(ULONG_PTR) 0x70000000
General Analysis

Detours

detours.cpp:57 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PVOID)(ULONG_PTR) 0x80000000
General Analysis

Detours

detours.cpp:1350 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PBYTE) 0x40000000
General Analysis

Detours

detours.cpp:1354 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PBYTE) 0xffffffff40000000
General Analysis

Detours

detours.cpp:1358 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PBYTE) 0x40000000
General Analysis

Detours

detours.cpp:1362 Low V566 CWE-587 The integer constant is converted to pointer. Possibly an error or a bad coding style: (PBYTE) 0xffffffff40000000
General Analysis

Detours

detours.cpp:1424 Low V574 CWE-823 The 'pTrampoline' pointer is used simultaneously as an array and as a pointer to single object. Check lines: 1424, 1457.
General Analysis

Detours

disasm.cpp:326 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nSegmentOverride, m_lScratchExtra, m_pbScratchTarget, m_rbScratchDst.
General Analysis

Detours

disasm.cpp:445 High V763 Parameter 'pEntry' is always rewritten in function body before being used.
General Analysis

Detours

disasm.cpp:589 High V763 Parameter 'pEntry' is always rewritten in function body before being used.
General Analysis

Detours

disasm.cpp:898 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '4', '4', '4' in lines 898, 899, 900, 901.
General Analysis

Detours

image.cpp:540 High V595 CWE-476 The 'pcbData' pointer was utilized before it was verified against nullptr. Check lines: 540, 545.
General Analysis

Detours

image.cpp:327 Medium V668 CWE-570 There is no sense in testing the 'pszOut' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:441 Medium V668 CWE-570 There is no sense in testing the 'pbNew' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:873 Medium V668 CWE-570 There is no sense in testing the 'pOutput' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1154 Medium V668 CWE-570 There is no sense in testing the 'pImportFile' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1214 Medium V668 CWE-570 There is no sense in testing the 'pImportFile->m_pImportNames' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1324 Medium V668 CWE-570 There is no sense in testing the 'm_pImageData' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1401 Medium V668 CWE-570 There is no sense in testing the 'pImportFile' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1424 Medium V668 CWE-571 There is no sense in testing the 'pImportFile' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:2036 Medium V668 CWE-570 There is no sense in testing the 'pImage' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

Detours

image.cpp:1244 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pLookThunk'.
General Analysis

Detours

image.cpp:762 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nNextFileAddr, m_nNextVirtAddr, m_DosHeader, m_NtHeader, m_SectionHeaders, m_nPrePE, ...
General Analysis

Detours

modules.cpp:521 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pwOrdinals'.
General Analysis

Detours

modules.cpp:595 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'pAddrs'.
General Analysis

Detours

uimports.cpp:182 Medium V668 CWE-570 There is no sense in testing the 'pbNew' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

LCDUI

LCDAnimatedBitmap.cpp:31 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwElapsedTime, m_dwRate, m_dwLastUpdate, m_dwSubpicWidth.
General Analysis

LCDUI

LCDColorText.h:39 Medium V762 CWE-670 It is possible a virtual function was overridden incorrectly. See second argument of function 'SetBackgroundMode' in derived class 'CLCDColorText' and base class 'CLCDBase'.
General Analysis

LCDUI

LCDConnection.cpp:36 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_lcdConnectCtxEx.
General Analysis

LCDUI

LCDConnection.cpp:231 Medium V519 CWE-563 The 'm_hConnection' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 228, 231.
General Analysis

LCDUI

LCDGfxBase.cpp:159 Medium V519 CWE-563 The 'm_hPrevBitmap' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 157, 159.
General Analysis

LCDUI

LCDGfxBase.cpp:256 Medium V668 CWE-570 There is no sense in testing the 'm_pBitmapInfo' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.
General Analysis

LCDUI

LCDGfxMono.cpp:34 Medium V641 CWE-704 The size of the '& m_LCDScreen' buffer is not a multiple of the element size of the type 'lgLcdBitmap'.
General Analysis

LCDUI

LCDOutput.cpp:393 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'pPage'.
General Analysis

LCDUI

LCDPage.cpp:29 Medium V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: m_BackgroundColor.
General Analysis

LCDUI

LCDPopup.cpp:344 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'nTextHeightWithMargin' should be checked here.
General Analysis

LCDUI

LCDPopup.h:78 Medium V762 CWE-670 It is possible a virtual function was overridden incorrectly. See first argument of function 'Initialize' in derived class 'CLCDPopup' and base class 'CLCDBase'.
General Analysis

LCDUI

LCDScrollingText.cpp:160 Low V526 CWE-253 The 'wcscmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

LCDUI

LCDScrollingText.cpp:29 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwEllapsedTime, m_dwStartDelay, m_dwEndDelay, m_dwSpeed, m_dwLastUpdate, m_nScrollingDistance, ...
General Analysis

LCDUI

LCDStreamingText.cpp:131 Low V526 CWE-253 The 'wcscmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

LCDUI

LCDStreamingText.cpp:262 Low V526 CWE-253 The 'wcscmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

LCDUI

LCDStreamingText.cpp:30 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dwEllapsedTime, m_dwStartDelay, m_dwSpeed, m_dwStepInPixels, m_dwLastUpdate, m_eState, ...
General Analysis

LCDUI

LCDText.cpp:191 Low V526 CWE-253 The 'wcscmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

lcms2

lcms2.h:177 High V1040 Possible typo in the spelling of a pre-defined macro name. The '_WIN32_' macro is similar to '_WIN32'.
General Analysis

lcms2

lcms2.h:1448 Medium V1071 Consider inspecting the 'cmsWriteTag' function. The return value is not always used. Total calls: 28, discarded results: 2.
General Analysis

lcms2

cmsalpha.c:392 Medium V560 CWE-570 A part of conditional expression is always false: in_n > 5.
General Analysis

lcms2

cmsalpha.c:392 Medium V560 CWE-570 A part of conditional expression is always false: out_n > 5.
General Analysis

lcms2

cmsalpha.c:496 Medium V560 CWE-571 A part of conditional expression is always true: total_chans > 0.
General Analysis

lcms2

cmscam02.c:200 Medium V592 The expression was enclosed by parentheses twice: '((clr.h * d2r + 2.0))'. One pair of parentheses is unnecessary or misprint is present.
General Analysis

lcms2

cmscam02.c:254 Medium V592 The expression was enclosed by parentheses twice: '((clr.h * d2r + 2.0))'. One pair of parentheses is unnecessary or misprint is present.
General Analysis

lcms2

cmscam02.c:182 Low V550 CWE-682 An odd precise comparison: a == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscam02.c:183 Low V550 CWE-682 An odd precise comparison: b == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscam02.c:190 Low V550 CWE-682 An odd precise comparison: b == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscam02.c:413 Low V550 CWE-682 An odd precise comparison: lpMod->D == (- 1). It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscam02.c:181 Low V624 CWE-547 The constant 3.141592654 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

lcms2

cmscam02.c:198 Low V624 CWE-547 The constant 3.141592654 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

lcms2

cmscam02.c:248 Low V624 CWE-547 The constant 3.141592654 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

lcms2

cmscgats.c:580 Medium V1048 CWE-1164 The 'sgn' variable was assigned the same value.
General Analysis

lcms2

cmscgats.c:659 Medium V1048 CWE-1164 The 'sgn' variable was assigned the same value.
General Analysis

lcms2

cmscgats.c:1925 Medium V560 CWE-571 A part of conditional expression is always true: it8->sy != SEND_DATA.
General Analysis

lcms2

cmscgats.c:1925 Medium V560 CWE-571 A part of conditional expression is always true: it8->sy != SEOF.
General Analysis

lcms2

cmscgats.c:1573 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1570, 1573.
General Analysis

lcms2

cmscgats.c:2380 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'it8'.
General Analysis

lcms2

cmscgats.c:1100 Low V769 CWE-119 The 'it8->Allocator.Block' pointer in the expression could be nullptr. In such case, resulting value of arithmetic operations on this pointer will be senseless and it should not be used.
General Analysis

lcms2

cmscnvrt.c:647 Medium V547 CWE-571 Expression 'Result != NULL' is always true.
General Analysis

lcms2

cmscnvrt.c:834 Medium V547 CWE-571 Expression 'Result != NULL' is always true.
General Analysis

lcms2

cmscnvrt.c:341 Low V522 CWE-690 There might be dereferencing of a potential null pointer '(cmsFloat64Number *) m'.
General Analysis

lcms2

cmscnvrt.c:344 Low V522 CWE-690 There might be dereferencing of a potential null pointer '(cmsFloat64Number *) off'.
General Analysis

lcms2

cmscnvrt.c:263 Low V550 CWE-682 An odd precise comparison: AdaptationState == 1.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscnvrt.c:280 Low V550 CWE-682 An odd precise comparison: AdaptationState == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmscnvrt.c:395 Low V550 CWE-682 An odd precise comparison: BlackPointIn.X != BlackPointOut.X. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmscnvrt.c:396 Low V550 CWE-682 An odd precise comparison: BlackPointIn.Y != BlackPointOut.Y. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmscnvrt.c:397 Low V550 CWE-682 An odd precise comparison: BlackPointIn.Z != BlackPointOut.Z. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmserr.c:424 Medium V560 CWE-571 A part of conditional expression is always true: ptr != NULL.
General Analysis

lcms2

cmsgamma.c:266 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'p->Table16'.
General Analysis

lcms2

cmsgamma.c:284 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'p->Segments'.
General Analysis

lcms2

cmsgamma.c:294 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'p->Evals'.
General Analysis

lcms2

cmsgamma.c:1022 Low V547 CWE-571 Expression 'y1 < y0' is always true.
General Analysis

lcms2

cmsgamma.c:1038 Low V547 CWE-571 Expression 'y1 < y0' is always true.
General Analysis

lcms2

cmsgamma.c:1094 Low V550 CWE-682 An odd precise comparison: x1 == x2. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsgamma.c:1236 Low V550 CWE-682 An odd precise comparison: z[i] == 0.. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsgmt.c:407 Medium V547 CWE-571 Expression 'hLab' is always true.
General Analysis

lcms2

cmsgmt.c:479 Medium V547 CWE-570 Expression 'bp.nOutputChans >= 16' is always false.
General Analysis

lcms2

cmsgmt.c:264 Low V550 CWE-682 An odd precise comparison: dE2 == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsgmt.c:541 Low V550 CWE-682 An odd precise comparison: Lab->a == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsintrp.c:226 High V568 CWE-131 It's odd that the argument of sizeof() operator is the '(v) + (double) 0' expression.
General Analysis

lcms2

cmsintrp.c:226 High V568 CWE-131 It's odd that the argument of sizeof() operator is the '(v) + (float) 0' expression.
General Analysis

lcms2

cmsintrp.c:403 Low V1003 The macro 'LERP' is a dangerous expression. The parameters 'a', 'l', 'h' must be surrounded by parentheses.
General Analysis

lcms2

cmsintrp.c:536 Low V1003 The macro 'LERP' is a dangerous expression. The parameters 'a', 'l', 'h' must be surrounded by parentheses.
General Analysis

lcms2

cmsintrp.c:1046 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1150 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1151 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1152 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1153 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1154 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1155 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1156 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1157 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1158 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1159 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:1160 Low V512 CWE-682 A call of the 'memmove' function will lead to underflow of the buffer '& p1.Domain[0]'.
General Analysis

lcms2

cmsintrp.c:382 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'fx', 'fx', 'fy' in lines 382, 383, 385.
General Analysis

lcms2

cmsintrp.c:441 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'rx', 'rx', 'ry' in lines 441, 442, 444.
General Analysis

lcms2

cmsintrp.c:243 Low V550 CWE-682 An odd precise comparison: val2 == 1.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsintrp.c:311 Low V550 CWE-682 An odd precise comparison: val2 == 1.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsio0.c:128 Medium V547 CWE-571 Expression 'iohandler' is always true.
General Analysis

lcms2

cmsio0.c:307 Medium V547 CWE-571 Expression 'iohandler' is always true.
General Analysis

lcms2

cmsio0.c:1241 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE. Correct expression is: 'io->Write(io, Icc->TagSizes[i], Data) == FALSE'.
General Analysis

lcms2

cmslut.c:1193 Medium V656 CWE-665 Variables 'LabTable[1]', 'LabTable[2]' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 1192, 1193.
General Analysis

lcms2

cmslut.c:1202 Low V522 CWE-628 Dereferencing of the null pointer 'mpe' might take place. The potential null pointer is passed into 'cmsStageFree' function. Inspect the first argument. Check lines: 1202, 1595.
General Analysis

lcms2

cmslut.c:986 Low V656 CWE-665 Variables 'LabTable[0]', 'LabTable[1]' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 985, 986.
General Analysis

lcms2

cmsmd5.c:234 High V512 CWE-682 A call of the 'memset' function will lead to underflow of the buffer 'ctx->in'.
General Analysis

lcms2

cmsmd5.c:58 Low V1003 The macro 'F1' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

lcms2

cmsmd5.c:60 Low V1003 The macro 'F3' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

lcms2

cmsmd5.c:61 Low V1003 The macro 'F4' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

lcms2

cmsmd5.c:63 Low V1003 The macro 'STEP' is a dangerous expression. The parameters 'w', 'data', 's' must be surrounded by parentheses.
General Analysis

lcms2

cmsnamed.c:808 High V595 CWE-476 The 'pseq->seq' pointer was utilized before it was verified against nullptr. Check lines: 808, 811.
General Analysis

lcms2

cmsnamed.c:309 Medium V547 CWE-571 Expression 'NewMlu != NULL' is always true.
General Analysis

lcms2

cmsopt.c:1434 Medium V547 CWE-571 Expression 'GammaTables != NULL' is always true.
General Analysis

lcms2

cmsopt.c:1494 Medium V547 CWE-571 Expression 'Dest != NULL' is always true.
General Analysis

lcms2

cmsopt.c:496 Low V550 CWE-682 An odd precise comparison: (px - x0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:497 Low V550 CWE-682 An odd precise comparison: (py - y0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:498 Low V550 CWE-682 An odd precise comparison: (pz - z0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:499 Low V550 CWE-682 An odd precise comparison: (pw - w0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:517 Low V550 CWE-682 An odd precise comparison: (px - x0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:518 Low V550 CWE-682 An odd precise comparison: (py - y0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:519 Low V550 CWE-682 An odd precise comparison: (pz - z0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmsopt.c:532 Low V550 CWE-682 An odd precise comparison: (px - x0) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

lcms2

cmspack.c:48 Medium V547 CWE-570 Expression 'a > 0xffff' is always false.
General Analysis

lcms2

cmspcs.c:723 Medium V1009 CWE-665 Check the array initialization. Only the first element is initialized explicitly. The rest elements are initialized with zeros.
General Analysis

lcms2

cmspcs.c:220 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L2float2', 'ab2float2', 'ab2float2' in lines 220, 221, 222.
General Analysis

lcms2

cmspcs.c:228 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L2float4', 'ab2float4', 'ab2float4' in lines 228, 229, 230.
General Analysis

lcms2

cmspcs.c:258 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Clamp_L_doubleV2', 'Clamp_ab_doubleV2', 'Clamp_ab_doubleV2' in lines 258, 259, 260.
General Analysis

lcms2

cmspcs.c:262 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L2Fix2', 'ab2Fix2', 'ab2Fix2' in lines 262, 263, 264.
General Analysis

lcms2

cmspcs.c:302 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Clamp_L_doubleV4', 'Clamp_ab_doubleV4', 'Clamp_ab_doubleV4' in lines 302, 303, 304.
General Analysis

lcms2

cmspcs.c:306 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'L2Fix4', 'ab2Fix4', 'ab2Fix4' in lines 306, 307, 308.
General Analysis

lcms2

cmspcs.c:325 Low V550 CWE-682 An odd precise comparison: a == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmspcs.c:325 Low V550 CWE-682 An odd precise comparison: b == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmspcs.c:553 Low V550 CWE-682 An odd precise comparison: Lab1->L == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmspcs.c:553 Low V550 CWE-682 An odd precise comparison: Lab2->L == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmsplugin.c:804 Medium V580 CWE-843 An odd explicit type casting: (void * *) & _cmsContextPoolHeadMutex. Consider verifying it.
General Analysis

lcms2

cmsplugin.c:259 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:272 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:299 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:314 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:327 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsplugin.c:340 Low V676 CWE-253 It is incorrect to compare the variable of BOOL type with TRUE.
General Analysis

lcms2

cmsps2.c:848 Medium V1020 CWE-772 The function exited without calling the 'EmitSafeGuardEnd' function. Check lines: 848, 815.
General Analysis

lcms2

cmssamp.c:107 High V595 CWE-476 The 'BlackPoint' pointer was utilized before it was verified against nullptr. Check lines: 107, 136.
General Analysis

lcms2

cmssamp.c:157 High V595 CWE-476 The 'BlackPoint' pointer was utilized before it was verified against nullptr. Check lines: 157, 179.
General Analysis

lcms2

cmssamp.c:468 Low V1048 CWE-1164 The 'NearlyStraightMidrange' variable was assigned the same value.
General Analysis

lcms2

cmssamp.c:224 Low V624 CWE-547 There is probably a misprint in '0.00287' constant. The number looks similar to the Chaitin's constant constant (0.0078749969978123844).
General Analysis

lcms2

cmssamp.c:391 Low V624 CWE-547 There is probably a misprint in '0.00287' constant. The number looks similar to the Chaitin's constant constant (0.0078749969978123844).
General Analysis

lcms2

cmssm.c:106 Low V550 CWE-682 An odd precise comparison: x == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmssm.c:106 Low V550 CWE-682 An odd precise comparison: y == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmssm.c:130 Low V550 CWE-682 An odd precise comparison: sp->r == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

lcms2

cmstypes.c:3979 High V1051 CWE-754 Consider checking for misprints. It's possible that the 'Segments[i].Type' should be checked here.
General Analysis

lcms2

cmstypes.c:270 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'CurrentPos' should be used inside 'io->Seek' function.
General Analysis

lcms2

cmstypes.c:4572 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'CurrentPos' should be used inside 'io->Seek' function.
General Analysis

lcms2

cmstypes.c:214 Medium V547 CWE-571 Expression 'ElementOffsets != NULL' is always true.
General Analysis

lcms2

cmstypes.c:215 Medium V547 CWE-571 Expression 'ElementSizes != NULL' is always true.
General Analysis

lcms2

cmstypes.c:279 Medium V547 CWE-571 Expression 'ElementOffsets != NULL' is always true.
General Analysis

lcms2

cmstypes.c:280 Medium V547 CWE-571 Expression 'ElementSizes != NULL' is always true.
General Analysis

lcms2

cmstypes.c:736 Medium V547 CWE-571 Expression 'mlu != NULL' is always true.
General Analysis

lcms2

cmstypes.c:954 Medium V547 CWE-571 Expression 'mlu' is always true.
General Analysis

lcms2

cmstypes.c:1517 Medium V547 CWE-571 Expression 'mlu' is always true.
General Analysis

lcms2

cmstypes.c:3782 Medium V547 CWE-571 Expression 'sc != NULL' is always true.
General Analysis

lcms2

cmstypes.c:3856 Medium V547 CWE-571 Expression 'vc != NULL' is always true.
General Analysis

lcms2

cmstypes.c:4027 Medium V547 CWE-571 Expression 'Segments' is always true.
General Analysis

lcms2

cmstypes.c:4491 Medium V547 CWE-571 Expression 'NewLUT != NULL' is always true.
General Analysis

lcms2

cmstypes.c:4581 Medium V547 CWE-571 Expression 'ElementOffsets != NULL' is always true.
General Analysis

lcms2

cmstypes.c:4582 Medium V547 CWE-571 Expression 'ElementSizes != NULL' is always true.
General Analysis

lcms2

cmstypes.c:1039 Medium V555 CWE-191 The expression 'len_aligned - len_tag_requirement > 0' will work as 'len_aligned != len_tag_requirement'.
General Analysis

lcms2

cmstypes.c:5317 Low V1016 CWE-681 The value '0x9478ee00' is out of range of enum values. This causes unspecified or undefined behavior.
General Analysis

lcms2

cmstypes.c:5441 Low V1016 CWE-681 The value '0x9478ee00' is out of range of enum values. This causes unspecified or undefined behavior.
General Analysis

lcms2

cmstypes.c:5442 Low V1016 CWE-681 The value '0x9478ee00' is out of range of enum values. This causes unspecified or undefined behavior.
General Analysis

lcms2

cmstypes.c:5443 Low V1016 CWE-681 The value '0x9478ee00' is out of range of enum values. This causes unspecified or undefined behavior.
General Analysis

lcms2

cmstypes.c:639 Low V524 It is odd that the body of 'Type_U16Fixed16_Dup' function is fully equivalent to the body of 'Type_S15Fixed16_Dup' function.
General Analysis

lcms2

cmstypes.c:1064 Low V524 It is odd that the body of 'Type_Text_Description_Free' function is fully equivalent to the body of 'Type_Text_Free' function.
General Analysis

lcms2

cmstypes.c:1280 Low V524 It is odd that the body of 'Type_ParametricCurve_Dup' function is fully equivalent to the body of 'Type_Curve_Dup' function.
General Analysis

lcms2

cmstypes.c:1289 Low V524 It is odd that the body of 'Type_ParametricCurve_Free' function is fully equivalent to the body of 'Type_Curve_Free' function.
General Analysis

lcms2

cmstypes.c:3197 Low V524 It is odd that the body of 'Type_NamedColor_Dup' function is fully equivalent to the body of 'Type_ColorantTable_Dup' function.
General Analysis

lcms2

cmstypes.c:3209 Low V524 It is odd that the body of 'Type_NamedColor_Free' function is fully equivalent to the body of 'Type_ColorantTable_Free' function.
General Analysis

lcms2

cmstypes.c:3484 Low V524 It is odd that the body of 'Type_ProfileSequenceId_Dup' function is fully equivalent to the body of 'Type_ProfileSequenceDesc_Dup' function.
General Analysis

lcms2

cmstypes.c:3493 Low V524 It is odd that the body of 'Type_ProfileSequenceId_Free' function is fully equivalent to the body of 'Type_ProfileSequenceDesc_Free' function.
General Analysis

lcms2

cmstypes.c:3737 Low V524 It is odd that the body of 'Type_CrdInfo_Free' function is fully equivalent to the body of 'Type_MLU_Free' function.
General Analysis

lcms2

cmstypes.c:4797 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '_cmsWriteUInt32Number', '_cmsWriteUInt16Number', '_cmsWriteUInt16Number', '_cmsWriteUInt16Number' in lines 4797, 4798, 4799, 4800.
General Analysis

lcms2

cmsvirt.c:91 Medium V547 CWE-571 Expression 'Seq' is always true.
General Analysis

lcms2

cmsvirt.c:212 Medium V547 CWE-571 Expression 'hICC' is always true.
General Analysis

lcms2

cmsvirt.c:273 Medium V547 CWE-571 Expression 'hICC' is always true.
General Analysis

lcms2

cmsvirt.c:333 Medium V547 CWE-571 Expression 'hICC' is always true.
General Analysis

lcms2

cmsvirt.c:461 Medium V547 CWE-571 Expression 'hICC != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:507 Medium V547 CWE-571 Expression 'hProfile != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:554 Medium V547 CWE-571 Expression 'hProfile != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:600 Medium V547 CWE-571 Expression 'hProfile != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:880 Medium V547 CWE-571 Expression 'hProfile != NULL' is always true.
General Analysis

lcms2

cmsvirt.c:990 Medium V547 CWE-571 Expression 'hICC != NULL' is always true.
General Analysis

lcms2

lcms2_internal.h:308 Low V524 It is odd that the body of '_cmsEnterCriticalSectionPrimitive' function is fully equivalent to the body of '_cmsLockPrimitive' function.
General Analysis

lcms2

lcms2_internal.h:314 Low V524 It is odd that the body of '_cmsLeaveCriticalSectionPrimitive' function is fully equivalent to the body of '_cmsUnlockPrimitive' function.
General Analysis

libbs2b

bs2b.c:187 Low V1003 The macro 'lo_filter' is a dangerous expression. The parameters 'in', 'out_1' must be surrounded by parentheses.
General Analysis

libbs2b

bs2b.c:191 Low V1003 The macro 'hi_filter' is a dangerous expression. The parameters 'in', 'in_1', 'out_1' must be surrounded by parentheses.
General Analysis

libbs2b

bs2b.c:1053 Low V1027 CWE-704 Pointer to an object of the 'bs2b_int24_t' class is cast to unrelated 'bs2b_uint24_t' class.
General Analysis

libbs2b

bs2b.c:1054 Low V1027 CWE-704 Pointer to an object of the 'bs2b_int24_t' class is cast to unrelated 'bs2b_uint24_t' class.
General Analysis

libbs2b

bs2b.c:1072 Low V1027 CWE-704 Pointer to an object of the 'bs2b_int24_t' class is cast to unrelated 'bs2b_uint24_t' class.
General Analysis

libbs2b

bs2b.c:1073 Low V1027 CWE-704 Pointer to an object of the 'bs2b_int24_t' class is cast to unrelated 'bs2b_uint24_t' class.
General Analysis

libbs2b

bs2b.c:393 Low V524 It is odd that the body of 'bs2b_cross_feed_dle' function is fully equivalent to the body of 'bs2b_cross_feed_d' function.
General Analysis

libbs2b

bs2b.c:486 Low V524 It is odd that the body of 'bs2b_cross_feed_fle' function is fully equivalent to the body of 'bs2b_cross_feed_f' function.
General Analysis

libbs2b

bs2b.c:660 Low V524 It is odd that the body of 'bs2b_cross_feed_s32le' function is fully equivalent to the body of 'bs2b_cross_feed_s32' function.
General Analysis

libbs2b

bs2b.c:697 Low V524 It is odd that the body of 'bs2b_cross_feed_u32le' function is fully equivalent to the body of 'bs2b_cross_feed_u32' function.
General Analysis

libbs2b

bs2b.c:862 Low V524 It is odd that the body of 'bs2b_cross_feed_s16le' function is fully equivalent to the body of 'bs2b_cross_feed_s16' function.
General Analysis

libbs2b

bs2b.c:899 Low V524 It is odd that the body of 'bs2b_cross_feed_u16le' function is fully equivalent to the body of 'bs2b_cross_feed_u16' function.
General Analysis

libbs2b

bs2b.c:1118 Low V524 It is odd that the body of 'bs2b_cross_feed_s24le' function is fully equivalent to the body of 'bs2b_cross_feed_s24' function.
General Analysis

libbs2b

bs2b.c:1155 Low V524 It is odd that the body of 'bs2b_cross_feed_u24le' function is fully equivalent to the body of 'bs2b_cross_feed_u24' function.
General Analysis

libbs2b

bs2b.h:64 Low V1003 The macro 'bs2b_level_delay' is a dangerous expression. The parameter 'fcut' must be surrounded by parentheses.
General Analysis

libflac

alloc.h:212 High V575 CWE-628 The 'realloc' function processes '0' elements. Inspect the second argument.
General Analysis

libflac

bitreader.c:784 Low V547 CWE-571 Expression 'parameter > 0' is always true.
General Analysis

libflac

cpu.c:293 Medium V785 CWE-691 Constant expression in switch statement.
General Analysis

libflac

fixed_intrin_sse2.c:207 Low V537 CWE-682 Consider reviewing the correctness of 'err1' item's usage.
General Analysis

libflac

fixed_intrin_sse2.c:86 Low V761 Three identical blocks of text were found.
General Analysis

libflac

fixed_intrin_sse2.c:183 Low V761 Three identical blocks of text were found.
General Analysis

libflac

fixed_intrin_ssse3.c:195 Low V537 CWE-682 Consider reviewing the correctness of 'err1' item's usage.
General Analysis

libflac

fixed_intrin_ssse3.c:86 Low V761 Three identical blocks of text were found.
General Analysis

libflac

fixed_intrin_ssse3.c:177 Low V761 Three identical blocks of text were found.
General Analysis

libflac

lpc.c:1300 Medium V665 Possibly, the usage of '#pragma warning(default: X)' is incorrect in this context. The '#pragma warning(push/pop)' should be used instead. Check lines: 264, 1300.
General Analysis

libflac

lpc.c:130 Low V550 CWE-682 An odd precise comparison: autoc[0] != 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libflac

lpc.c:159 Low V550 CWE-682 An odd precise comparison: err == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libflac

lpc_intrin_avx2.c:80 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:93 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:435 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:448 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:768 Medium V1032 CWE-843 The pointer 'pack_arr' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:794 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_avx2.c:807 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse.c:277 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'xmm0', 'xmm2', 'xmm0' in lines 277, 278, 279.
General Analysis

libflac

lpc_intrin_sse2.c:83 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse2.c:96 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse2.c:420 Medium V1032 CWE-843 The pointer 'qlp_coeff' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse2.c:438 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse41.c:1167 Medium V1032 CWE-843 The pointer 'data' is cast to a more strictly aligned pointer type.
General Analysis

libflac

lpc_intrin_sse41.c:1180 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

md5.c:497 Medium V547 CWE-570 Expression is always false.
General Analysis

libflac

md5.c:41 Low V1003 The macro 'F1' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

libflac

md5.c:43 Low V1003 The macro 'F3' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

libflac

md5.c:44 Low V1003 The macro 'F4' is a dangerous expression. The parameters 'x', 'y', 'z' must be surrounded by parentheses.
General Analysis

libflac

md5.c:47 Low V1003 The macro 'MD5STEP' is a dangerous expression. The parameters 'w', 'x', 'in', 's' must be surrounded by parentheses.
General Analysis

libflac

md5.c:285 Low V1003 The macro 'BYTES_CHANNEL_SELECTOR' is a dangerous expression. The parameters 'bytes', 'channels' must be surrounded by parentheses.
General Analysis

libflac

metadata_iterators.c:629 High V595 CWE-476 The 'iterator' pointer was utilized before it was verified against nullptr. Check lines: 629, 631.
General Analysis

libflac

metadata_iterators.c:658 High V595 CWE-476 The 'iterator' pointer was utilized before it was verified against nullptr. Check lines: 658, 661.
General Analysis

libflac

metadata_iterators.c:759 High V595 CWE-476 The 'iterator' pointer was utilized before it was verified against nullptr. Check lines: 759, 762.
General Analysis

libflac

metadata_iterators.c:3431 High V595 CWE-476 The 'stats' pointer was utilized before it was verified against nullptr. Check lines: 3431, 3436.
General Analysis

libflac

metadata_iterators.c:183 Medium V560 CWE-570 A part of conditional expression is always false: cd.got_error.
General Analysis

libflac

metadata_iterators.c:496 Medium V560 CWE-570 A part of conditional expression is always false: 0 != tempfile_path_prefix.
General Analysis

libflac

metadata_iterators.c:993 Low V1004 CWE-476 The 'chain->tail' pointer was used unsafely after it was verified against nullptr. Check lines: 986, 993.
General Analysis

libflac

metadata_iterators.c:2257 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'block->points'.
General Analysis

libflac

metadata_iterators.c:2407 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'track->indices'.
General Analysis

libflac

metadata_iterators.c:2653 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '3' in lines 2653, 2654, 2655.
General Analysis

libflac

metadata_iterators.c:2335 Low V769 CWE-119 The 'block->comments' pointer in the 'block->comments + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libflac

metadata_iterators.c:2463 Low V769 CWE-119 The 'block->tracks' pointer in the 'block->tracks + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libflac

metadata_object.c:1201 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'object->data.vorbis_comment.comments' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libflac

metadata_object.c:960 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'object->data.seek_table.points'.
General Analysis

libflac

metadata_object.c:838 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

libflac

metadata_object.c:840 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

libflac

metadata_object.c:852 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

metadata_object.c:1210 Low V769 CWE-119 The 'object->data.vorbis_comment.comments' pointer in the expression could be nullptr. In such case, resulting value of arithmetic operations on this pointer will be senseless and it should not be used.
General Analysis

libflac

metadata_object.c:1361 Low V769 CWE-119 The 'eq' pointer in the 'eq - entry.entry' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libflac

metadata_object.c:1510 Low V769 CWE-119 The 'track->indices' pointer in the 'track->indices + track->num_indices' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libflac

metadata_object.c:1605 Low V769 CWE-119 The 'object->data.cue_sheet.tracks' pointer in the expression could be nullptr. In such case, resulting value of arithmetic operations on this pointer will be senseless and it should not be used.
General Analysis

libflac

bitwise.c:138 High V610 CWE-758 Undefined behavior. Check the shift operator '<<'. The right operand ('(32 - bits)' = [0..32]) is greater than or equal to the length in bits of the promoted left operand.
General Analysis

libflac

bitwise.c:42 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'b->buffer'. Check lines: 42, 41.
General Analysis

libflac

framing.c:594 High V595 CWE-476 The 'oy->data' pointer was utilized before it was verified against nullptr. Check lines: 594, 603.
General Analysis

libflac

framing.c:648 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

framing.c:679 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

framing.c:798 Low V793 CWE-691 It is odd that the result of the 'os->lacing_fill - lr' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

libflac

ogg_decoder_aspect.c:173 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

ogg_encoder_aspect.c:154 Medium V512 CWE-682 A call of the 'memcpy' function will lead to underflow of the buffer 'b'.
General Analysis

libflac

ogg_encoder_aspect.c:213 Medium V560 CWE-571 A part of conditional expression is always true: samples == 0.
General Analysis

libflac

ogg_helper.c:131 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

ogg_helper.c:133 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

ogg_helper.c:171 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

stream_decoder.c:1523 High V595 CWE-476 The 'block.data.vorbis_comment.comments' pointer was utilized before it was verified against nullptr. Check lines: 1523, 1524.
General Analysis

libflac

stream_decoder.c:1531 High V595 CWE-476 The 'block.data.cue_sheet.tracks' pointer was utilized before it was verified against nullptr. Check lines: 1531, 1532.
General Analysis

libflac

stream_decoder.c:2893 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2893, 2899
General Analysis

libflac

stream_decoder.c:3198 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'upper_bound_sample' should be used inside 'FLAC__stream_decoder_get_decode_position' function.
General Analysis

libflac

stream_decoder.c:3206 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'lower_bound_sample' should be used inside 'FLAC__stream_decoder_get_decode_position' function.
General Analysis

libflac

stream_decoder.c:3327 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'left_sample' should be checked here.
General Analysis

libflac

stream_decoder.c:3336 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'right_sample' should be checked here.
General Analysis

libflac

stream_decoder.c:681 Low V526 CWE-253 The 'memcmp' function returns 0 if corresponding buffers are equal. Consider examining the condition for mistakes.
General Analysis

libflac

stream_decoder.c:1545 Low V796 CWE-484 It is possible that 'break' statement is missing in switch statement.
General Analysis

libflac

stream_encoder.c:2178 High V595 CWE-476 The 'encoder' pointer was utilized before it was verified against nullptr. Check lines: 2178, 2180.
General Analysis

libflac

stream_encoder.c:2235 High V595 CWE-476 The 'encoder' pointer was utilized before it was verified against nullptr. Check lines: 2235, 2237.
General Analysis

libflac

stream_encoder.c:2987 Medium V512 CWE-682 A call of the 'memcpy' function will lead to underflow of the buffer 'b'.
General Analysis

libflac

stream_encoder.c:3013 Medium V512 CWE-682 A call of the 'memcpy' function will lead to underflow of the buffer 'b'.
General Analysis

libflac

stream_encoder.c:2869 Medium V519 CWE-563 The 'xx' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2868, 2869.
General Analysis

libflac

stream_encoder.c:3056 Medium V519 CWE-563 The 'xx' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3055, 3056.
General Analysis

libflac

stream_encoder.c:3457 Medium V547 CWE-571 Expression '!_best_subframe' is always true.
General Analysis

libflac

stream_encoder.c:3525 Medium V547 CWE-571 Expression 'max_lpc_order > 0' is always true.
General Analysis

libflac

stream_encoder.c:805 Medium V560 CWE-571 A part of conditional expression is always true.
General Analysis

libflac

stream_encoder.c:2476 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2487 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2500 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2506 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2511 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:2522 Medium V560 CWE-571 A part of conditional expression is always true.
General Analysis

libflac

stream_encoder.c:2523 Medium V560 CWE-571 A part of conditional expression is always true: ok.
General Analysis

libflac

stream_encoder.c:4088 Medium V612 CWE-670 An unconditional 'break' within a loop.
General Analysis

libflac

stream_encoder.c:777 Low V1004 CWE-476 The 'encoder->protected_->metadata' pointer was used unsafely after it was verified against nullptr. Check lines: 745, 777.
General Analysis

libflac

stream_encoder.c:4240 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'partition_samples' should be checked here.
General Analysis

libflac

stream_encoder.c:707 Low V547 CWE-571 Expression is always true.
General Analysis

libflac

stream_encoder.c:3459 Low V547 CWE-571 The 'A = !_best_subframe' expression is equivalent to the 'A = 1' expression.
General Analysis

libflac

stream_encoder.c:3441 Low V550 CWE-682 An odd precise comparison: fixed_residual_bits_per_sample[1] == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libflac

stream_encoder.c:3531 Low V550 CWE-682 An odd precise comparison: autoc[0] != 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libflac

stream_encoder.c:1934 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the second argument.
General Analysis

libflac

stream_encoder_intrin_avx2.c:70 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

stream_encoder_intrin_sse2.c:91 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libflac

stream_encoder_intrin_ssse3.c:80 Medium V1032 CWE-843 The pointer 'residual' is cast to a more strictly aligned pointer type.
General Analysis

libpng

png.c:2373 High V547 CWE-571 Expression 'crc == 0' is always true.
General Analysis

libpng

png.c:409 High V597 CWE-14 The compiler could delete the 'memset' function call, which is used to flush 'info_ptr' object. The RtlSecureZeroMemory() function should be used to erase the private data.
General Analysis

libpng

png.c:762 High V614 CWE-457 Uninitialized buffer 'number_buf' used. Consider checking the first actual argument of the 'png_format_number' function.
General Analysis

libpng

png.c:1849 High V614 CWE-457 Uninitialized buffer 'number' used. Consider checking the first actual argument of the 'png_format_number' function.
General Analysis

libpng

png.c:2771 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2771, 2793
General Analysis

libpng

png.c:105 Medium V547 CWE-570 Expression 'items >= (~(png_alloc_size_t) 0) / size' is always false.
General Analysis

libpng

png.c:3251 Medium V547 CWE-571 Expression 'num <= 0x80000000' is always true.
General Analysis

libpng

png.c:406 Low V1004 CWE-476 The 'info_ptr_ptr' pointer was used unsafely after it was verified against nullptr. Check lines: 395, 406.
General Analysis

libpng

png.c:4556 Low V506 CWE-562 Pointer to local variable 'c' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

libpng

png.c:3085 Low V550 CWE-682 An odd precise comparison: d == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libpng

pngerror.c:251 High V568 CWE-131 It's odd that the argument of sizeof() operator is the 'p[number - 1]' expression.
General Analysis

libpng

pngerror.c:259 High V614 CWE-457 Uninitialized buffer 'buffer' used. Consider checking the first actual argument of the 'png_format_number' function.
General Analysis

libpng

pngerror.c:275 High V614 CWE-457 Uninitialized buffer 'buffer' used. Consider checking the first actual argument of the 'png_format_number' function.
General Analysis

libpng

pngerror.c:950 Medium V507 CWE-562 Pointer to local array 'safe_jmpbuf' is stored outside the scope of this array. Such a pointer will become invalid.
General Analysis

libpng

pngerror.c:689 Low V506 CWE-562 Pointer to local variable 'free_jmp_buf' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

libpng

pngmem.c:33 High V597 CWE-14 The compiler could delete the 'memset' function call, which is used to flush 'png_ptr' object. The RtlSecureZeroMemory() function should be used to erase the private data.
General Analysis

libpng

pngmem.c:83 Medium V560 CWE-571 A part of conditional expression is always true: size <= ((size_t)(- 1)).
General Analysis

libpng

pngmem.c:154 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the second argument.
General Analysis

libpng

pngpriv.h:1732 Medium V1071 Consider inspecting the 'png_safecat' function. The return value is not always used. Total calls: 18, discarded results: 1.
General Analysis

libpng

pngpriv.h:1748 Low V1003 The macro 'PNG_FORMAT_NUMBER' is a dangerous expression. The parameter 'buffer' must be surrounded by parentheses.
General Analysis

libpng

pngread.c:1031 Medium V1004 CWE-476 The 'png_ptr_ptr' pointer was used unsafely after it was verified against nullptr. Check lines: 1018, 1031.
General Analysis

libpng

pngread.c:2905 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2905, 2921
General Analysis

libpng

pngread.c:2477 Medium V557 CWE-125 Array overrun is possible. The value of 'back_b' index could reach 65535.
General Analysis

libpng

pngread.c:2598 Medium V557 CWE-125 Array overrun is possible. The value of 'gray' index could reach 65535.
General Analysis

libpng

pngread.c:2857 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'trans'.
General Analysis

libpng

pngrtran.c:4351 High V1028 CWE-190 Possible overflow. Consider casting operands of the 'row_width * 3' operator to the 'size_t' type, not the result.
General Analysis

libpng

pngrtran.c:1806 Medium V1048 CWE-1164 The 'png_ptr->background.green' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:1806 Medium V1048 CWE-1164 The 'png_ptr->background.red' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:1807 Medium V1048 CWE-1164 The 'png_ptr->background.blue' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:4341 Medium V1048 CWE-1164 The 'row_info->bit_depth' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:4368 Medium V1048 CWE-1164 The 'row_info->bit_depth' variable was assigned the same value.
General Analysis

libpng

pngrtran.c:3968 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'gamma_table'.
General Analysis

libpng

pngrtran.c:3984 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'gamma_16_table'.
General Analysis

libpng

pngrutil.c:548 High V547 CWE-571 Expression '(sizeof local_buffer) < avail' is always true.
General Analysis

libpng

pngrutil.c:1059 High V595 CWE-476 The 'info_ptr' pointer was utilized before it was verified against nullptr. Check lines: 1059, 1072.
General Analysis

libpng

pngrutil.c:547 Medium V507 CWE-562 Pointer to local array 'local_buffer' is stored outside the scope of this array. Such a pointer will become invalid.
General Analysis

libpng

pngrutil.c:4211 Medium V507 CWE-562 Pointer to local array 'tmpbuf' is stored outside the scope of this array. Such a pointer will become invalid.
General Analysis

libpng

pngrutil.c:713 Medium V547 CWE-570 Expression 'ret == 0' is always false.
General Analysis

libpng

pngrutil.c:745 Medium V547 CWE-570 Expression 'ret == 0' is always false.
General Analysis

libpng

pngrutil.c:1739 Medium V547 CWE-570 Expression 'dl > max_dl' is always false.
General Analysis

libpng

pngrutil.c:1913 Medium V614 CWE-457 Potentially uninitialized buffer 'readbuf' used. Consider checking the third actual argument of the 'png_set_tRNS' function.
General Analysis

libpng

pngrutil.c:2889 Low V1048 CWE-1164 The 'png_ptr->unknown_chunk.data' variable was assigned the same value.
General Analysis

libpng

pngrutil.c:3172 Low V1048 CWE-1164 The 'idat_limit' variable was assigned the same value.
General Analysis

libpng

pngrutil.c:1233 Low V575 CWE-628 The potential null pointer is passed into 'png_set_sBIT' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:1913 Low V575 CWE-628 The potential null pointer is passed into 'png_set_tRNS' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2032 Low V575 CWE-628 The potential null pointer is passed into 'png_set_bKGD' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2145 Low V575 CWE-628 The potential null pointer is passed into 'png_set_hIST' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2191 Low V575 CWE-628 The potential null pointer is passed into 'png_set_pHYs' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2237 Low V575 CWE-628 The potential null pointer is passed into 'png_set_oFFs' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2363 Low V575 CWE-628 The potential null pointer is passed into 'png_set_pCAL' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2458 Low V575 CWE-628 The potential null pointer is passed into 'png_set_sCAL_s' function. Inspect the second argument.
General Analysis

libpng

pngrutil.c:2505 Low V575 CWE-628 The potential null pointer is passed into 'png_set_tIME' function. Inspect the second argument.
General Analysis

libpng

pngset.c:1597 Medium V547 CWE-570 Expression 'size > ((uInt) - 1)' is always false.
General Analysis

libpng

pngset.c:940 Low V1004 CWE-628 The 'text_ptr[i].text' pointer was used unsafely after it was verified against nullptr. Check lines: 884, 940.
General Analysis

libpng

pngset.c:1465 Low V1004 CWE-628 The 'png_ptr->chunk_list' pointer was used unsafely after it was verified against nullptr. Check lines: 1443, 1465.
General Analysis

libpng

pngset.c:349 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'params'.
General Analysis

libpng

pngset.c:626 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the second argument.
General Analysis

libpng

pngwrite.c:760 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '0x07', '0x07', '0x03' in lines 760, 776, 792.
General Analysis

libpng

pngwutil.c:1202 High V1028 CWE-190 Possible overflow. Consider casting operands of the 'name_len + 1' operator to the 'size_t' type, not the result.
General Analysis

libpng

pngwutil.c:538 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'png_ptr->zstream.avail_in' should be checked here.
General Analysis

libpng

pngwutil.c:1549 Low V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

libpng

pngwutil.c:1676 Low V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

libpng

pngwutil.c:1681 Low V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

libpng

pngwutil.c:1696 Low V658 CWE-190 A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '>' comparison operation can potentially behave unexpectedly.
General Analysis

libpng

zconf.h:228 Low V1059 Macro name overrides the 'const' keyword. This may lead to undefined behavior.
General Analysis

libsoxr

cr-core.c:61 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

cr-core.c:51 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

cr.c:424 High V564 CWE-480 The '&' operator is applied to bool type value. You've probably forgotten to include parentheses or intended to use the '&&' operator.
General Analysis

libsoxr

cr.c:413 Medium V547 CWE-571 Expression '!rational' is always true.
General Analysis

libsoxr

cr.c:246 Medium V636 CWE-682 The 'p->at.fix.ms.parts.ms / p->L' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;.
General Analysis

libsoxr

cr.c:196 Low V550 CWE-682 An odd precise comparison: Fn == L. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:196 Low V550 CWE-682 An odd precise comparison: phase_response == 50. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:199 Low V550 CWE-682 An odd precise comparison: phase_response != 50. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:291 Low V550 CWE-682 An odd precise comparison: bits == 16. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:292 Low V550 CWE-682 An odd precise comparison: Fp0 == (1385 / 2048.). It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:294 Low V550 CWE-682 An odd precise comparison: Fs0 != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:294 Low V550 CWE-682 An odd precise comparison: phase_response != 50. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:304 Low V550 CWE-682 An odd precise comparison: bits != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:313 Low V550 CWE-682 An odd precise comparison: bits != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:322 Low V550 CWE-682 An odd precise comparison: (frac = arbM - (int) arbM) != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:324 Low V550 CWE-682 An odd precise comparison: frac == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:333 Low V550 CWE-682 An odd precise comparison: d != 5. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:342 Low V550 CWE-682 An odd precise comparison: arbM * arbL != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:343 Low V550 CWE-682 An odd precise comparison: multiplier != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:360 Low V550 CWE-682 An odd precise comparison: arbM * arbL != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:390 Low V550 CWE-682 An odd precise comparison: arbM * arbL != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:390 Low V550 CWE-682 An odd precise comparison: bits == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:398 Low V550 CWE-682 An odd precise comparison: arbM * arbL != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

cr.c:421 Low V550 CWE-682 An odd precise comparison: f->interp[0].scalar == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

cr.c:89 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the first argument.
General Analysis

libsoxr

cr.c:89 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the second argument.
General Analysis

libsoxr

cr.c:148 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the first argument.
General Analysis

libsoxr

cr.c:489 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

cr.c:506 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

cr.c:329 Low V636 CWE-682 The 'i * (int) arbM' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

libsoxr

cr.c:333 Low V636 CWE-682 The 'preL * arbL' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

libsoxr

fft4g.c:289 Low V1059 Macro name overrides the 'double' keyword. This may lead to undefined behavior.
General Analysis

libsoxr

fft4g.c:292 Low V1059 The 'sin' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

libsoxr

fft4g.c:293 Low V1059 The 'cos' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

libsoxr

fft4g.c:572 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'a', 't', 't' in lines 572, 573, 574.
General Analysis

libsoxr

fft4g.c:1081 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '-', '+', '+', '-', '-' in lines 1081, 1082, 1083, 1084, 1085.
General Analysis

libsoxr

fft4g.h:18 Low V1003 The macro 'dft_br_len' is a dangerous expression. The parameter 'l' must be surrounded by parentheses.
General Analysis

libsoxr

fft4g_cache.h:63 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

libsoxr

fft4g_cache.h:43 High V634 CWE-783 The priority of the '/' operation is higher than that of the '<<' operation. It's possible that parentheses should be used in the expression.
General Analysis

libsoxr

fft4g_cache.h:46 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'lsx_fft_br'. Check lines: 46, 43.
General Analysis

libsoxr

fft4g_cache.h:46 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'lsx_fft_br_f'. Check lines: 46, 43.
General Analysis

libsoxr

fft4g_cache.h:40 Medium V547 CWE-571 Expression 'len > fft_len' is always true.
General Analysis

libsoxr

fft4g_cache.h:43 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'lsx_fft_br' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fft4g_cache.h:43 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'lsx_fft_br_f' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fft4g_cache.h:44 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'lsx_fft_sc' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fft4g_cache.h:44 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'lsx_fft_sc_f' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fifo.h:62 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'f->data' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

fifo.h:74 Low V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the first argument.
General Analysis

libsoxr

filter.c:183 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'pi_wraps'. Check lines: 183, 164.
General Analysis

libsoxr

filter.c:166 Medium V575 CWE-628 The potential null pointer is passed into 'memcpy' function. Inspect the first argument. Check lines: 166, 163.
General Analysis

libsoxr

filter.c:235 Medium V701 CWE-401 realloc() possible leak: when realloc() fails in allocating memory, original pointer '* h' is lost. Consider assigning realloc() to a temporary pointer.
General Analysis

libsoxr

filter.c:101 Low V550 CWE-682 An odd precise comparison: x != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

filter.c:148 Low V550 CWE-682 An odd precise comparison: x != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

filter.c:225 Low V550 CWE-682 An odd precise comparison: phase1 == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

filter.c:227 Low V550 CWE-682 An odd precise comparison: phase1 == 1. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

filter.h:14 Low V1003 The macro 'lsx_is_power_of_2' is a dangerous expression. The parameter 'x' must be surrounded by parentheses.
General Analysis

libsoxr

half-fir.h:47 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

half-fir.h:40 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

half-fir.h:47 Low V769 CWE-119 The 'output' pointer in the 'output + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

pffft-wrap.c:37 Medium V1032 CWE-843 The pointer 'a' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft-wrap.c:38 Medium V1032 CWE-843 The pointer 'b' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft-wrap.c:39 Medium V1032 CWE-843 The pointer 'ab' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft-wrap.c:12 Low V1059 The 'sin' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

libsoxr

pffft-wrap.c:13 Low V1059 The 'cos' macro name overrides a reserved name from C standard. This may lead to undefined behavior.
General Analysis

libsoxr

pffft.c:1348 Medium V1032 CWE-843 The pointer 'in' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1349 Medium V1032 CWE-843 The pointer 'out' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1667 Medium V1032 CWE-843 The pointer 'finput' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1668 Medium V1032 CWE-843 The pointer 'foutput' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1938 Medium V1032 CWE-843 The pointer 'work' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:1943 Medium V1032 CWE-843 The pointer 'work' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

pffft.c:85 Low V1003 The macro 'VLA_ARRAY_ON_STACK' is a dangerous expression. The parameters 'varname__', 'size__' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:441 Low V1003 The macro 'cc_ref' is a dangerous expression. The parameters 'a_1', 'a_2' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:442 Low V1003 The macro 'ch_ref' is a dangerous expression. The parameters 'a_1', 'a_3' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:825 Low V1003 The macro 'cc_ref' is a dangerous expression. The parameter 'a_1' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:826 Low V1003 The macro 'ch_ref' is a dangerous expression. The parameter 'a_1' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:910 Low V1003 The macro 'cc_ref' is a dangerous expression. The parameter 'a_1' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:911 Low V1003 The macro 'ch_ref' is a dangerous expression. The parameter 'a_1' must be surrounded by parentheses.
General Analysis

libsoxr

pffft.c:191 Low V1059 Macro name overrides the 'float' keyword. This may lead to undefined behavior.
General Analysis

libsoxr

pffft.c:397 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '_mm_sub_ps', '_mm_add_ps', '_mm_sub_ps', '_mm_add_ps', '_mm_sub_ps' in lines 397, 399, 400, 401, 402.
General Analysis

libsoxr

pffft.c:397 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '_mm256_sub_pd', '_mm256_add_pd', '_mm256_sub_pd', '_mm256_add_pd', '_mm256_sub_pd' in lines 397, 399, 400, 401, 402.
General Analysis

libsoxr

pffft.h:92 Low V1059 Macro name overrides the 'float' keyword. This may lead to undefined behavior.
General Analysis

libsoxr

poly-fir.h:128 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

poly-fir.h:123 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

poly-fir.h:128 Low V769 CWE-119 The 'output' pointer in the 'output + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

poly-fir0.h:39 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

poly-fir0.h:34 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

poly-fir0.h:39 Low V769 CWE-119 The 'output' pointer in the 'output + i' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

rint.h:68 Low V537 CWE-682 Consider reviewing the correctness of 'x' item's usage.
General Analysis

libsoxr

soxr.c:634 High V595 CWE-476 The 'p' pointer was utilized before it was verified against nullptr. Check lines: 634, 636.
General Analysis

libsoxr

soxr.c:702 High V595 CWE-476 The 'p' pointer was utilized before it was verified against nullptr. Check lines: 702, 706.
General Analysis

libsoxr

soxr.c:110 Medium V547 CWE-570 Expression 'quality > 11' is always false.
General Analysis

libsoxr

soxr.c:121 Medium V547 CWE-571 Expression 'quality <= 10' is always true.
General Analysis

libsoxr

soxr.c:125 Medium V560 CWE-570 A part of conditional expression is always false: quality == 11.
General Analysis

libsoxr

soxr.c:439 Medium V560 CWE-571 A part of conditional expression is always true: 1.
General Analysis

libsoxr

soxr.c:583 Medium V560 CWE-571 A part of conditional expression is always true: !error.
General Analysis

libsoxr

soxr.c:823 Low V506 CWE-562 Pointer to local variable 'q_spec1' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

libsoxr

soxr.c:644 Low V522 CWE-690 There might be dereferencing of a potential null pointer '(soxr_cbufs_t) in'.
General Analysis

libsoxr

soxr.c:794 Low V522 CWE-690 There might be dereferencing of a potential null pointer '(soxr_bufs_t) out'.
General Analysis

libsoxr

soxr.c:368 Low V550 CWE-682 An odd precise comparison: input_rate != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

soxr.c:368 Low V550 CWE-682 An odd precise comparison: output_rate != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

soxr.c:369 Low V550 CWE-682 An odd precise comparison: input_rate != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

soxr.c:470 Low V550 CWE-682 An odd precise comparison: io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

soxr.c:716 Low V769 CWE-119 The '(char *) out' pointer in the '(char *) out + osize * odone' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

util-simd.c:51 Medium V1032 CWE-843 The pointer 'a' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

util-simd.c:52 Medium V1032 CWE-843 The pointer 'b' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

util-simd.c:74 Medium V1032 CWE-843 The pointer 'a' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

util-simd.c:75 Medium V1032 CWE-843 The pointer 'b' is cast to a more strictly aligned pointer type.
General Analysis

libsoxr

vr32.c:628 High V529 CWE-670 Odd semicolon ';' after 'for' operator.
General Analysis

libsoxr

vr32.c:301 High V613 CWE-761 Strange pointer arithmetic with 'calloc'.
General Analysis

libsoxr

vr32.c:303 High V781 CWE-129 The value of the 'i' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 303, 306.
General Analysis

libsoxr

vr32.c:325 High V781 CWE-129 The value of the 'p->current.stage_num' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 325, 328.
General Analysis

libsoxr

vr32.c:381 High V781 CWE-129 The value of the 'stage_num' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 381, 391.
General Analysis

libsoxr

vr32.c:148 Medium V522 CWE-690 There might be dereferencing of a potential null pointer 'coefs1'. Check lines: 148, 127.
General Analysis

libsoxr

vr32.c:213 Medium V547 CWE-571 Expression 's->at.part.integer < s->len' is always true.
General Analysis

libsoxr

vr32.c:232 Medium V547 CWE-571 Expression 's->at.part.integer < s->len' is always true.
General Analysis

libsoxr

vr32.c:137 Medium V769 CWE-119 The 'p' pointer in the 'p ++' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 137, 127.
General Analysis

libsoxr

vr32.c:301 Medium V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

vr32.c:631 Medium V779 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis

libsoxr

vr32.c:386 Low V1019 CWE-480 Compound assignment expression 'len -= already_done' is used inside condition.
General Analysis

libsoxr

vr32.c:392 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'dest'.
General Analysis

libsoxr

vr32.c:539 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'output'.
General Analysis

libsoxr

vr32.c:43 Low V547 CWE-571 Expression is always true.
General Analysis

libsoxr

vr32.c:54 Low V547 CWE-571 Expression is always true.
General Analysis

libsoxr

vr32.c:65 Low V547 CWE-571 Expression is always true.
General Analysis

libsoxr

vr32.c:165 Low V547 CWE-571 Expression 'i == 20' is always true.
General Analysis

libsoxr

vr32.c:179 Low V547 CWE-571 Expression 'i == 12' is always true.
General Analysis

libsoxr

vr32.c:313 Low V550 CWE-682 An odd precise comparison: fade_coefs[0] == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

libsoxr

vr32.c:364 Low V550 CWE-682 An odd precise comparison: p->default_io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

vr32.c:372 Low V550 CWE-682 An odd precise comparison: p->default_io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

vr32.c:427 Low V550 CWE-682 An odd precise comparison: p->default_io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

vr32.c:459 Low V550 CWE-682 An odd precise comparison: p->new_io_ratio != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

libsoxr

vr32.c:307 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

vr32.c:420 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

vr32.c:488 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

vr32.c:594 Low V575 CWE-628 The potential null pointer is passed into 'memset' function. Inspect the first argument.
General Analysis

libsoxr

vr32.c:144 Low V769 CWE-119 The 'coefs1' pointer in the 'p - coefs1' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 144, 127.
General Analysis

libsoxr

vr32.c:325 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

vr32.c:383 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

vr32.c:446 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

libsoxr

vr32.c:449 Low V769 CWE-119 The pointer in the expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

MediaInfo

File_Elf.cpp:82 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 82, 84
General Analysis

MediaInfo

File_Iso9660.cpp:87 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '4', '8', '4', '4', '4', '4' in lines 87, 88, 89, 90, 91, 92, 93, 94.
General Analysis

MediaInfo

File_Mz.cpp:160 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 160, 83.
General Analysis

MediaInfo

File_Mz.cpp:139 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '2' in lines 139, 140, 141.
General Analysis

MediaInfo

File_Rar.cpp:90 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: state, HEAD_TYPE, PACK_SIZE, HIGH_PACK_SIZE, HEAD_FLAGS, high_fields, ...
General Analysis

MediaInfo

File_Zip.cpp:274 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '2', '4' in lines 274, 275, 276.
General Analysis

MediaInfo

File_Zip.cpp:467 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '8', '4' in lines 467, 468, 469.
General Analysis

MediaInfo

File_Aac.cpp:390 Medium V688 The 'sampling_frequency_index' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aac.cpp:363 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Synchronize_ADTS', 'Synchronize_ADTS', 'Synchronize_LATM' in lines 363, 364, 365.
General Analysis

MediaInfo

File_Aac.cpp:42 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: numSubFrames, numProgram, numLayer, numChunk, streamID, progSIndx, ...
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:1064 High V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:597 Low V524 It is odd that the body of 'lfe_channel_element' function is fully equivalent to the body of 'single_channel_element' function.
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:703 Low V688 The 'common_window' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:1354 Low V688 The 'sect_cb' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aac_GeneralAudio.cpp:1219 Low V793 CWE-691 It is odd that the result of the '-' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Aac_GeneralAudio_Sbr.cpp:387 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Frame_Count_Valid' should be checked here.
General Analysis

MediaInfo

File_Aac_GeneralAudio_Sbr.cpp:591 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'sbr_dtdf', 'sbr_dtdf', 'sbr_invf' in lines 591, 592, 593.
General Analysis

MediaInfo

File_Aac_Main.cpp:900 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 900, 888.
General Analysis

MediaInfo

File_Aac_Main.cpp:492 Medium V557 CWE-119 Array overrun is possible. The value of 'OutputChannels[i]' index could reach 43.
General Analysis

MediaInfo

File_Aac_Main.cpp:107 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 107, 110
General Analysis

MediaInfo

File_Aac_Main.cpp:109 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 109, 111
General Analysis

MediaInfo

File_Aac_Others.cpp:116 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_Aac_Others.cpp:167 High V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_Aac_Others.cpp:231 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S1_', 'Skip_S1_', 'Skip_S2_', 'Skip_S1_' in lines 231, 232, 233, 234.
General Analysis

MediaInfo

File_Aac_Others.cpp:288 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '2' in lines 288, 289, 290.
General Analysis

MediaInfo

File_Aac_Others.cpp:354 Low V688 The 'frame_length' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:2281 High V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Ac3.cpp:3759 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3759, 2267.
General Analysis

MediaInfo

File_Ac3.cpp:3759 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3759, 2408.
General Analysis

MediaInfo

File_Ac3.cpp:3820 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3820, 2267.
General Analysis

MediaInfo

File_Ac3.cpp:3820 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 3820, 2408.
General Analysis

MediaInfo

File_Ac3.cpp:4238 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4238, 4230.
General Analysis

MediaInfo

File_Ac3.cpp:4327 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 4327, 4317.
General Analysis

MediaInfo

File_Ac3.cpp:916 Medium V1048 CWE-1164 The 'protection_bits_secondary' variable was assigned the same value.
General Analysis

MediaInfo

File_Ac3.cpp:1868 Medium V1048 CWE-1164 The 'TimeStamp_Parsed' variable was assigned the same value.
General Analysis

MediaInfo

File_Ac3.cpp:1602 Medium V547 CWE-570 Expression 'HD_SamplingRate < 44100' is always false.
General Analysis

MediaInfo

File_Ac3.cpp:1865 Medium V547 CWE-571 Expression 'Synched' is always true.
General Analysis

MediaInfo

File_Ac3.cpp:4125 Medium V547 CWE-571 Expression 'padding' is always true.
General Analysis

MediaInfo

File_Ac3.cpp:1188 Medium V560 CWE-571 A part of conditional expression is always true: BitRate > 0.
General Analysis

MediaInfo

File_Ac3.cpp:962 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Save_Buffer_Offset, Save_Buffer_Size, EMDF_RemainPos, RemainAfterEMDF, joc_num_objects, joc_ext_config_idx, ...
General Analysis

MediaInfo

File_Ac3.cpp:2478 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '1', '3' in lines 2478, 2479, 2480.
General Analysis

MediaInfo

File_Ac3.cpp:4164 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Get_S1_', 'Get_S1_', 'Get_S2_' in lines 4164, 4165, 4166.
General Analysis

MediaInfo

File_Ac3.cpp:4334 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S2_', 'Skip_S1_', 'Skip_S1_' in lines 4334, 4335, 4336.
General Analysis

MediaInfo

File_Ac3.cpp:1634 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameDuration) > Epsilon.
General Analysis

MediaInfo

File_Ac3.cpp:1665 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameDuration) > Epsilon.
General Analysis

MediaInfo

File_Ac3.cpp:4546 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Ac3.cpp:4052 Low V688 The 'b_lfe_present' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4657 Low V688 The 'fscod' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4658 Low V688 The 'frmsizecod' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4685 Low V688 The 'fscod' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4686 Low V688 The 'frmsizecod' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac3.cpp:4851 Low V688 The 'bsid' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac4.cpp:282 High V501 There are identical sub-expressions to the left and to the right of the '|' operator: L | R | C | Ls | Rs | Vhl | Vhl
General Analysis

MediaInfo

File_Ac4.cpp:283 High V501 There are identical sub-expressions to the left and to the right of the '|' operator: L | R | C | Ls | Rs | Vhl | Vhl
General Analysis

MediaInfo

File_Ac4.cpp:4675 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4675, 4666.
General Analysis

MediaInfo

File_Ac4.cpp:2338 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2338, 2344, 2350
General Analysis

MediaInfo

File_Ac4.cpp:2356 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2356, 2363
General Analysis

MediaInfo

File_Ac4.cpp:2459 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2459, 2469
General Analysis

MediaInfo

File_Ac4.cpp:4181 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 4181, 4184
General Analysis

MediaInfo

File_Ac4.cpp:2778 Medium V547 CWE-571 Expression '!G.top_channel_pairs' is always true.
General Analysis

MediaInfo

File_Ac4.cpp:2920 Medium V547 CWE-570 Expression 'G.b_lfe' is always false.
General Analysis

MediaInfo

File_Ac4.cpp:282 Medium V578 CWE-480 An odd bitwise operation detected: L | R | C | Ls | Rs | Vhl | Vhl. Consider verifying it.
General Analysis

MediaInfo

File_Ac4.cpp:283 Medium V578 CWE-480 An odd bitwise operation detected: L | R | C | Ls | Rs | Vhl | Vhl. Consider verifying it.
General Analysis

MediaInfo

File_Ac4.cpp:5153 Medium V614 CWE-457 Potentially uninitialized variable 'Temp' used.
General Analysis

MediaInfo

File_Ac4.cpp:4892 Medium V640 CWE-483 The code's operational logic does not correspond with its formatting. The statement is indented to the right, but it is always executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Ac4.cpp:3420 Medium V688 The 'Buffer_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac4.cpp:3484 Medium V688 The 'Buffer_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac4.cpp:1918 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Element_Offset' should be checked here.
General Analysis

MediaInfo

File_Ac4.cpp:4219 Low V524 It is odd that the body of 'tool_t4_to_t2' function is fully equivalent to the body of 'tool_b4_to_b2' function.
General Analysis

MediaInfo

File_Ac4.cpp:4289 Low V524 It is odd that the body of 'tool_t2_to_f_s' function is fully equivalent to the body of 'tool_scr_to_c_l' function.
General Analysis

MediaInfo

File_Ac4.cpp:2461 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '1', '2' in lines 2461, 2466, 2471.
General Analysis

MediaInfo

File_Ac4.cpp:3904 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '8', '8', '2' in lines 3904, 3905, 3906.
General Analysis

MediaInfo

File_Ac4.cpp:4770 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S1_', 'Skip_S4_', 'Skip_S4_' in lines 4770, 4771, 4772.
General Analysis

MediaInfo

File_Ac4.cpp:3969 Low V547 CWE-571 The 'A = b_iframe' expression is equivalent to the 'A = true' expression.
General Analysis

MediaInfo

File_Ac4.cpp:92 Low V550 CWE-682 An odd precise comparison: Array[Pos] == - 3.402823466e+38F. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Ac4.cpp:94 Low V550 CWE-682 An odd precise comparison: Array[Pos] == 3.402823466e+38F. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Ac4.cpp:4921 Low V688 The 'n_substreams' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ac4.cpp:1064 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: frame_size, payload_base, sync_word, bitstream_version, frame_rate_index, fs_index, ...
General Analysis

MediaInfo

File_Ac4.cpp:1109 Low V783 CWE-119 Dereferencing of the invalid iterator 'It' might take place.
General Analysis

MediaInfo

File_Ac4.h:52 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: b_loudcorr_type, loudspchgat_dialgate_prac_type, lra_prac_type.
General Analysis

MediaInfo

File_Ac4.h:73 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: phase90_info_2ch, b_surround_attenuation_known, b_lfe_attenuation_known.
General Analysis

MediaInfo

File_Ac4.h:227 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: presentation_version, b_pres_ndot, b_alternative, n_substream_groups.
General Analysis

MediaInfo

File_Ac4.h:111 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: drc_default_profile_flag, drc_decoder_mode_id, drc_compression_curve_flag, drc_compression_curve, drc_gains_config.
General Analysis

MediaInfo

File_Ac4.h:132 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: de_method, de_channel_config.
General Analysis

MediaInfo

File_Ac4.h:346 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Offset, Size.
General Analysis

MediaInfo

File_Ac4.h:286 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: substream_type, b_iframe, b_4_back_channels_present, b_centre_present, b_ajoc, b_static_dmx, ...
General Analysis

MediaInfo

File_Adm.cpp:394 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: p, Items.
General Analysis

MediaInfo

File_Adm.cpp:94 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 81, 94.
General Analysis

MediaInfo

File_Adm.cpp:977 Medium V619 CWE-480 An array is being utilized as a pointer to single object.
General Analysis

MediaInfo

File_Amr.cpp:61 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Channels, IsWB.
General Analysis

MediaInfo

File_Amr.h:54 Medium V703 It is odd that the 'Header_Size' field in derived class 'File_Amr' overwrites field in base class 'File__Analyze'. Check lines: File_Amr.h:54, File__Analyze_MinimizeSize.h:1314.
General Analysis

MediaInfo

File_Caf.cpp:187 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(SampleRate) > Epsilon.
General Analysis

MediaInfo

File_ChannelGrouping.cpp:44 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: StreamID.
General Analysis

MediaInfo

File_ChannelGrouping.cpp:336 Medium V560 CWE-571 A part of conditional expression is always true: Common->Parsers.size() > 1.
General Analysis

MediaInfo

File_ChannelSplitting.cpp:44 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: StreamID, AllFilled, AllFinished, SplittedChannels_c, SplittedChannels_i.
General Analysis

MediaInfo

File_ChannelSplitting.cpp:433 Medium V560 CWE-571 A part of conditional expression is always true: SplittedChannel->Parsers.size() > 1.
General Analysis

MediaInfo

File_ChannelSplitting.cpp:153 Low V601 CWE-704 The 'true' value is implicitly cast to the integer type. Inspect the fifth argument.
General Analysis

MediaInfo

File_DolbyAudioMetadata.cpp:67 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DolbyE.cpp:1808 High V1028 CWE-190 Possible overflow. Consider casting operands, not the result.
General Analysis

MediaInfo

File_DolbyE.cpp:2729 High V547 CWE-571 Expression 'ToPadd < 8' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:2987 High V547 CWE-571 Expression 'ToPadd < 8' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1669 High V638 CWE-665 A terminal null is present inside a string. The '\0xC2' characters were encountered. Probably meant: '\xC2'.
General Analysis

MediaInfo

File_DolbyE.cpp:1727 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1727, 1714.
General Analysis

MediaInfo

File_DolbyE.cpp:1741 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1741, 1714.
General Analysis

MediaInfo

File_DolbyE.cpp:1753 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1753, 1714.
General Analysis

MediaInfo

File_DolbyE.cpp:2115 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 2115, 2101.
General Analysis

MediaInfo

File_DolbyE.cpp:3115 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3115, 3101.
General Analysis

MediaInfo

File_DolbyE.cpp:3186 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3186, 3182.
General Analysis

MediaInfo

File_DolbyE.cpp:3287 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3287, 3273.
General Analysis

MediaInfo

File_DolbyE.cpp:3358 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 3358, 3354.
General Analysis

MediaInfo

File_DolbyE.cpp:2240 Medium V1048 CWE-1164 The 'len_primary' variable was assigned the same value.
General Analysis

MediaInfo

File_DolbyE.cpp:2248 Medium V1048 CWE-1164 The 'len_second' variable was assigned the same value.
General Analysis

MediaInfo

File_DolbyE.cpp:1188 Medium V547 CWE-571 Expression 'Summary.empty()' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1263 Medium V547 CWE-571 Expression 'Summary2.empty()' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1310 Medium V547 CWE-571 Expression 'Summary.empty()' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1384 Medium V547 CWE-571 Expression 'Summary2.empty()' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:1945 Medium V547 CWE-570 Expression 'BitSkip_End' is always false.
General Analysis

MediaInfo

File_DolbyE.cpp:2756 Medium V547 CWE-571 Expression 'object_info_size_bytes' is always true.
General Analysis

MediaInfo

File_DolbyE.cpp:2361 Medium V614 CWE-457 Potentially uninitialized variable 'nonstd_bed_channel_assignment_mask' used. Consider checking the first actual argument of the 'push_back' function.
General Analysis

MediaInfo

File_DolbyE.cpp:800 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Azimuth, Elevation.
General Analysis

MediaInfo

File_DolbyE.cpp:174 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 174, 175
General Analysis

MediaInfo

File_DolbyE.cpp:3220 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'metadata_extension_segment_BitCountAfter' should be checked here.
General Analysis

MediaInfo

File_DolbyE.cpp:172 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '6', '8', '8' in lines 172, 173, 174, 175.
General Analysis

MediaInfo

File_DolbyE.cpp:1506 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'CC2', 'CC3', 'CC3' in lines 1506, 1507, 1508.
General Analysis

MediaInfo

File_DolbyE.cpp:1781 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '3', '3' in lines 1781, 1788, 1795.
General Analysis

MediaInfo

File_DolbyE.cpp:3439 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '2', '3', '3', '3', '3', '1', '2', '2', '1', '8', '1' in lines 3439, 3440, 3441, 3442, 3443, 3444, 3445, 3446, 3447, 3448, 3449, 3450.
General Analysis

MediaInfo

File_DolbyE.cpp:1443 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_DolbyE.cpp:1636 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_DolbyE.cpp:1686 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_DolbyE.cpp:1814 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Mpegv_frame_rate[frame_rate_code]) > Epsilon.
General Analysis

MediaInfo

File_DolbyE.cpp:854 Low V624 CWE-547 The constant 3.14159265359 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

MediaInfo

File_DolbyE.cpp:856 Low V624 CWE-547 The constant 3.14159265359 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

MediaInfo

File_DolbyE.cpp:939 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: object_count, channel_subsegment_size, program_config, metadata_extension_segment_size, meter_segment_size, frame_rate_code, ...
General Analysis

MediaInfo

File_Dsdiff.cpp:207 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: pad.
General Analysis

MediaInfo

File_Dsdiff.cpp:409 Low V760 Two identical blocks of text were found. The second block begins from line 410.
General Analysis

MediaInfo

File_Dsf.cpp:85 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Metadata.
General Analysis

MediaInfo

File_Dts.cpp:1159 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1159, 1007.
General Analysis

MediaInfo

File_Dts.cpp:1178 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1178, 1007.
General Analysis

MediaInfo

File_Dts.cpp:1179 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1179, 1007.
General Analysis

MediaInfo

File_Dts.cpp:1180 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1180, 1007.
General Analysis

MediaInfo

File_Dts.cpp:1105 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1105, 1108
General Analysis

MediaInfo

File_Dts.cpp:382 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Save_Buffer_Offset, Save_Buffer_Size, Original_Size, Number_Of_PCM_Sample_Blocks, Word, BigEndian, ...
General Analysis

MediaInfo

File_Dts.cpp:1133 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(BitRate) > Epsilon.
General Analysis

MediaInfo

File_Iab.cpp:75 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Version.
General Analysis

MediaInfo

File_Iab.cpp:204 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 204, 182.
General Analysis

MediaInfo

File_Iab.cpp:114 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Iab_FrameRate[FrameRate]) > Epsilon.
General Analysis

MediaInfo

File_La.cpp:41 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: seekable, high.
General Analysis

MediaInfo

File_Mpc.cpp:186 Medium V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Mpega.cpp:376 High V781 CWE-129 The value of the 'ID' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 376, 405.
General Analysis

MediaInfo

File_Mpega.cpp:378 High V781 CWE-129 The value of the 'sampling_frequency' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 378, 405.
General Analysis

MediaInfo

File_Mpega.cpp:1451 Medium V688 The 'BitRate' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpega.cpp:291 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: ID, layer, bitrate_index, sampling_frequency, mode, mode_extension, ...
General Analysis

MediaInfo

File_Mpega.cpp:1168 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S2_', 'Skip_S2_', 'Skip_S1_' in lines 1168, 1169, 1170.
General Analysis

MediaInfo

File_Mpega.cpp:1464 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 1464, 1465, 1466.
General Analysis

MediaInfo

File_Mpega.cpp:1481 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '2', '2' in lines 1481, 1482, 1483, 1484.
General Analysis

MediaInfo

File_Mpega.cpp:539 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Size) > Epsilon.
General Analysis

MediaInfo

File_Mpega.cpp:1442 Low V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

MediaInfo

File_Mpegh3da.cpp:1775 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1775, 1778
General Analysis

MediaInfo

File_Mpegh3da.cpp:299 Medium V547 CWE-571 Expression '!LabelString.empty()' is always true.
General Analysis

MediaInfo

File_Mpegh3da.cpp:299 Medium V571 CWE-571 Recurring check. The '!LabelString.empty()' condition was already verified in line 297.
General Analysis

MediaInfo

File_Mpegh3da.cpp:2106 Medium V581 CWE-670 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 2104, 2106.
General Analysis

MediaInfo

File_Mpegh3da.cpp:1772 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '7', '5', '5' in lines 1772, 1775, 1778.
General Analysis

MediaInfo

File_Mpegh3da.cpp:254 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: numElements, numAudioChannels, numAudioObjects, numSAOCTransportChannels, numHOATransportChannels, bsNumSignalGroups, ...
General Analysis

MediaInfo

File_Mpegh3da.cpp:1088 Low V760 Two identical blocks of text were found. The second block begins from line 1098.
General Analysis

MediaInfo

File_Mpegh3da.h:176 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: ID, allowOnOff, defaultOnOff.
General Analysis

MediaInfo

File_Pcm.cpp:325 Medium V793 CWE-691 It is odd that the result of the 'BitDepth * Channels / 8' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Pcm_M2ts.cpp:98 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: channel_assignment, sampling_frequency, bits_per_sample.
General Analysis

MediaInfo

File_Pcm_Vob.cpp:117 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: BitDepth, Frequency, NumberOfChannelsMinusOne.
General Analysis

MediaInfo

File_Ps2Audio.cpp:87 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 87, 79.
General Analysis

MediaInfo

File_SmpteSt0302.cpp:47 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: audio_packet_size, number_channels, bits_per_sample.
General Analysis

MediaInfo

File_SmpteSt0331.cpp:47 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Channels_valid.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:1005 High V1028 CWE-190 Possible overflow. Consider casting operands, not the result.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:721 Medium V688 The 'Buffer_Offset_Temp' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:701 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'GuardBand_Before' should be checked here.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:905 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'GuardBand_Before' should be checked here.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:235 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:262 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameSize) > Epsilon.
General Analysis

MediaInfo

File_SmpteSt0337.cpp:265 Low V636 CWE-682 The 'Container_Bits * 2 * 48000' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_SmpteSt0337.h:34 Medium V703 It is odd that the 'Endianness' field in derived class 'File_SmpteSt0337' overwrites field in base class 'File_Pcm_Base'. Check lines: File_SmpteSt0337.h:34, File_Pcm.h:33.
General Analysis

MediaInfo

File_Tak.cpp:74 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: VorbisHeader.
General Analysis

MediaInfo

File_Usac.cpp:82 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: baseChannelCount, loudnessInfoSet_Present.
General Analysis

MediaInfo

File_Usac.cpp:996 Medium V547 CWE-571 Expression 'i >= 10' is always true.
General Analysis

MediaInfo

File_Usac.cpp:652 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '6', '4', '4' in lines 652, 653, 654.
General Analysis

MediaInfo

File_Usac.cpp:681 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '6', '4', '4' in lines 681, 682, 683.
General Analysis

MediaInfo

File_Usac.cpp:142 Low V601 CWE-704 The 'true' value is implicitly cast to the integer type. Inspect the fifth argument.
General Analysis

MediaInfo

File_Vorbis.cpp:139 Medium V1020 CWE-772 The function exited without calling the 'BS_End_LE' function. Check lines: 139, 132.
General Analysis

MediaInfo

File_Vorbis.cpp:139 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 139, 136.
General Analysis

MediaInfo

File_Vorbis.cpp:176 Medium V1020 CWE-772 The function exited without calling the 'BS_End_LE' function. Check lines: 176, 132.
General Analysis

MediaInfo

File_Vorbis.cpp:176 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 176, 136.
General Analysis

MediaInfo

File_Wvpk.cpp:565 High V609 CWE-369 Divide by zero. Denominator range [0x0..0x2EE00].
General Analysis

MediaInfo

File_Wvpk.cpp:105 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: block_samples_LastFrame, joint_stereo, cross_channel_decorrelation, Size, version.
General Analysis

MediaInfo

File_Wvpk.cpp:453 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 453, 325.
General Analysis

MediaInfo

File_Wvpk.cpp:454 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 454, 325.
General Analysis

MediaInfo

File_Wvpk.cpp:212 Low V688 The 'Size' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze.cpp:171 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: EOF_AlreadyDetected, Element_Code, BookMark_Element_Level, BookMark_GoTo, PES_FirstByte_Value.
General Analysis

MediaInfo

File__Analyze.cpp:3621 High V763 Parameter 'Element_Level_ToSet' is always rewritten in function body before being used.
General Analysis

MediaInfo

File__Analyze.cpp:1702 Medium V1001 CWE-563 The 'Buffer_Offset' variable is assigned but is not used by the end of the function.
General Analysis

MediaInfo

File__Analyze.cpp:2265 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2265, 2241.
General Analysis

MediaInfo

File__Analyze.cpp:2265 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2265, 2245.
General Analysis

MediaInfo

File__Analyze.cpp:2272 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2272, 2241.
General Analysis

MediaInfo

File__Analyze.cpp:2272 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2272, 2245.
General Analysis

MediaInfo

File__Analyze.cpp:818 Medium V1048 CWE-1164 The 'Buffer_Temp_Size' variable was assigned the same value.
General Analysis

MediaInfo

File__Analyze.cpp:827 Medium V519 CWE-563 The 'Buffer_Temp_Size' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 818, 827.
General Analysis

MediaInfo

File__Analyze.cpp:804 Medium V560 CWE-571 A part of conditional expression is always true: Buffer_Offset <= Buffer_Size.
General Analysis

MediaInfo

File__Analyze.cpp:804 Medium V560 CWE-571 A part of conditional expression is always true: Buffer_Size.
General Analysis

MediaInfo

File__Analyze.cpp:3147 Medium V560 CWE-571 A part of conditional expression is always true: Config->File_Names.size() > 1.
General Analysis

MediaInfo

File__Analyze.cpp:1611 Medium V728 CWE-571 An excessive check can be simplified. The '||' operator is surrounded by opposite expressions 'Buffer_Offset >= Buffer_Size' and 'Buffer_Offset < Buffer_Size'.
General Analysis

MediaInfo

File__Analyze.cpp:504 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Sub->File_Offset' should be checked here.
General Analysis

MediaInfo

File__Analyze.cpp:962 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Sub->File_Offset' should be checked here.
General Analysis

MediaInfo

File__Analyze.cpp:1129 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Buffer_TotalBytes' should be checked here.
General Analysis

MediaInfo

File__Analyze.cpp:1022 Low V550 CWE-682 An odd precise comparison: Ratio != 1. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__Analyze.cpp:1684 Low V688 The 'Buffer_Offset' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze.cpp:3857 Low V688 The 'Buffer_Size' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze.cpp:3061 Low V793 CWE-691 It is odd that the result of the 'FrameInfo.PTS - PTS_Begin' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:701 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 701, 685.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:792 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 792, 776.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:875 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 875, 871.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:908 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 908, 904.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:236 Medium V560 CWE-570 A part of conditional expression is always false: Exponent == 0xFF.
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:1299 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1299, 1300
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:1301 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 1301, 1302
General Analysis

MediaInfo

File__Analyze_Buffer_MinimizeSize.cpp:660 Low V524 It is odd that the body of 'Get_GUID' function is fully equivalent to the body of 'Get_B16_' function.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:847 Medium V524 It is odd that the body of 'Skip_S2_' function is fully equivalent to the body of 'Skip_S1_' function.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:594 Low V524 It is odd that the body of 'Skip_UUID' function is fully equivalent to the body of 'Skip_GUID' function.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:33 Low V688 The 'Buffer' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:33 Low V688 The 'Buffer_Size' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze_MinimizeSize.h:38 Low V688 The 'Buffer_Size' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:2100 Medium V1048 CWE-1164 The 'BitRate' variable was assigned the same value.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:2144 Medium V1048 CWE-1164 The 'BitRate' variable was assigned the same value.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:1856 Medium V560 CWE-571 A part of conditional expression is always true: Pos.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:2385 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'DurationString2', 'DurationString1', 'DurationString2', 'DurationString3' in lines 2385, 2386, 2387, 2388.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:2025 Low V526 CWE-253 The 'compare' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:151 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:735 Low V550 CWE-682 An odd precise comparison: SamplesPerFrame != SamplingRate. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:735 Low V550 CWE-682 An odd precise comparison: SamplingRate != 1.7976931348623158e+308. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:1169 Low V550 CWE-682 An odd precise comparison: BitRate == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:1192 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Value) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams.cpp:1214 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Value) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1667 High V797 CWE-253 The 'find' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1745 High V797 CWE-253 The 'find' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1563 Medium V560 CWE-571 A part of conditional expression is always true: FrameRate2 != FrameRate.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1582 Medium V560 CWE-571 A part of conditional expression is always true: FrameCount2 != FrameCount.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:203 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Streams_Finish_StreamOnly', 'Streams_Finish_InterStreams', 'Streams_Finish_InterStreams', 'Streams_Finish_InterStreams' in lines 203, 205, 207, 209.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:624 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:642 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1147 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1174 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1198 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(SamplingRate) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1201 Low V550 CWE-682 An odd precise comparison: FrameRate != SamplingRate. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1219 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(SamplingRate) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1222 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1247 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1355 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1472 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(TextBitRate_Ratio) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1491 Low V550 CWE-682 An odd precise comparison: Duration == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1493 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:622 Low V636 CWE-682 The 'FrameCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:640 Low V636 CWE-682 The 'FrameCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1353 Low V636 CWE-682 The 'FrameCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File__Analyze_Streams_Finish.cpp:1489 Low V636 CWE-682 The 'FrameCount * 1000' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.
General Analysis

MediaInfo

File_Dds.cpp:44 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Flags, Width, Height, Depth, pfFlags, FourCC.
General Analysis

MediaInfo

File_Dpx.cpp:678 Medium V688 The 'Version' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Dpx.cpp:374 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Sizes_Pos, Version, IsDpx, LittleEndian.
General Analysis

MediaInfo

File_Dpx.cpp:899 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Dpx.cpp:552 Low V688 The 'Version' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Exr.cpp:54 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: name_End, type_End, ImageData_End, LongName.
General Analysis

MediaInfo

File_Exr.cpp:434 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(value) > Epsilon.
General Analysis

MediaInfo

File_Ico.cpp:35 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Type, Count.
General Analysis

MediaInfo

File_Ico.cpp:118 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Jpeg.cpp:252 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: APPE_Adobe0_transform, APP0_JFIF_Parsed, SOS_SOD_Parsed.
General Analysis

MediaInfo

File_Jpeg.cpp:969 Medium V560 CWE-570 A part of conditional expression is always false: APPE_Adobe0_transform == 0.
General Analysis

MediaInfo

File_Jpeg.cpp:721 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Get_B2_', 'Get_B4_', 'Get_B4_' in lines 721, 722, 723.
General Analysis

MediaInfo

File_Jpeg.h:94 Medium V524 It is odd that the body of 'SOF1' function is fully equivalent to the body of 'SOF0' function.
General Analysis

MediaInfo

File_Png.h:65 Low V524 It is odd that the body of 'PLTE' function is fully equivalent to the body of 'IDAT' function.
General Analysis

MediaInfo

File_Tga.cpp:160 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 160, 168
General Analysis

MediaInfo

File_Tga.cpp:82 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: First_Entry_Index, Color_map_Length, Image_Width_, Image_Height_, ID_Length, Color_Map_Type, ...
General Analysis

MediaInfo

File_Tiff.cpp:218 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: LittleEndian.
General Analysis

MediaInfo

File_Tiff.cpp:129 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 129, 130
General Analysis

MediaInfo

File_Tiff.cpp:194 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 194, 195
General Analysis

MediaInfo

File_Tiff.cpp:685 Low V656 CWE-665 Variables 'N', 'D' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 684, 685.
General Analysis

MediaInfo

File_Tiff.cpp:690 Low V656 CWE-665 Variables 'N', 'D' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 689, 690.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3042 High V621 CWE-835 Consider inspecting the 'for' operator. It's possible that the loop will be executed incorrectly or won't be executed at all.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3045 High V621 CWE-835 Consider inspecting the 'for' operator. It's possible that the loop will be executed incorrectly or won't be executed at all.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3042 High V654 CWE-834 The condition 'i < ToReturn.size()' of loop is always false.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3045 High V654 CWE-834 The condition 'Pos < ToReturn.size()' of loop is always false.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2303 High V797 CWE-253 The 'find' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

MediaInfo_Config.cpp:978 Medium V688 The 'Language' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:385 Low V688 The 'Format' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:390 Low V688 The 'Format' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:1805 Low V688 The 'Format' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2404 Low V688 The 'DecimalPoint' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2733 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2794 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2844 Low V688 The 'Info' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:2926 Low V688 The 'Complete' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3030 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3385 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.cpp:3391 Low V688 The 'Format' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Config.h:82 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: FormatDetection_MaximumOffset, VariableGopDetection_Occurences, VariableGopDetection_GiveUp, InitDataNotRepeated_Occurences, InitDataNotRepeated_GiveUp, TimeOut, ...
General Analysis

MediaInfo

MediaInfo_Config_MediaInfo.cpp:1656 Medium V560 CWE-571 A part of conditional expression is always true: k.
General Analysis

MediaInfo

MediaInfo_Config_MediaInfo.cpp:1470 Medium V728 An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:411 High V773 CWE-401 The 'Node_Main' pointer was assigned values twice without releasing the memory. A memory leak is possible.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:695 High V797 CWE-253 The 'rfind' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:714 High V797 CWE-253 The 'rfind' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:389 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:423 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:435 Medium V547 CWE-570 Expression 'CSV' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:443 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:462 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:467 Medium V547 CWE-570 Expression 'HTML' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:880 Medium V547 CWE-570 Expression 'JSON' is always false.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:429 Medium V560 CWE-571 A part of conditional expression is always true: !JSON.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:463 Medium V560 CWE-571 A part of conditional expression is always true: !JSON.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:469 Medium V560 CWE-571 A part of conditional expression is always true: !CSV.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:469 Medium V560 CWE-571 A part of conditional expression is always true: !HTML.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:469 Medium V560 CWE-571 A part of conditional expression is always true: !JSON.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:868 Medium V560 CWE-571 A part of conditional expression is always true: !JSON.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:406 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'Node_Main'.
General Analysis

MediaInfo

MediaInfo_Inform.cpp:449 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'Node_Current'.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2549 High V595 CWE-476 The 'Info[FilePos]' pointer was utilized before it was verified against nullptr. Check lines: 2549, 2550.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2584 High V595 CWE-476 The 'Info[FilePos]' pointer was utilized before it was verified against nullptr. Check lines: 2584, 2585.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:605 High V797 CWE-253 The 'find' function is used as if it returned a bool type. The return value of the function should probably be compared with std::string::npos.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:1626 Medium V506 CWE-562 Pointer to local variable 'Input_Cache' is stored outside the scope of this variable. Such a pointer will become invalid.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:1398 Medium V560 CWE-570 A part of conditional expression is always false: !((clock_t) 1000).
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2495 Medium V688 The 'Info' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2690 Medium V688 The 'Inform_Cache' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

MediaInfo_Internal.cpp:2487 Low V688 The 'Info' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aaf.cpp:572 Low V524 It is odd that the body of 'Type' function is fully equivalent to the body of 'Identification' function.
General Analysis

MediaInfo

File_Aaf.cpp:166 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '4' in lines 166, 167, 168.
General Analysis

MediaInfo

File_Aaf.cpp:554 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '5', '8', '8' in lines 554, 555, 556.
General Analysis

MediaInfo

File_Aaf.cpp:365 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Aaf.cpp:72 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: xxxSize, SectorShift, MiniSectorShift, sectMiniFatStart, sectDirStart, MiniSectorCutoff, ...
General Analysis

MediaInfo

File_Ancillary.cpp:219 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: DataID, SecondaryDataID, DataCount.
General Analysis

MediaInfo

File_Ancillary.cpp:348 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Bdmv.cpp:1223 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 1223, 1215.
General Analysis

MediaInfo

File_Bdmv.cpp:142 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 142, 143
General Analysis

MediaInfo

File_Bdmv.cpp:148 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 148, 154
General Analysis

MediaInfo

File_Bdmv.cpp:166 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 166, 168
General Analysis

MediaInfo

File_Bdmv.cpp:191 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 191, 193
General Analysis

MediaInfo

File_Bdmv.cpp:1097 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '2', '4', '4' in lines 1097, 1098, 1099.
General Analysis

MediaInfo

File_Bdmv.cpp:1305 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Clpi_Video_FrameRate[FrameRate]) > Epsilon.
General Analysis

MediaInfo

File_Bdmv.cpp:1579 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Clpi_Video_FrameRate[FrameRate]) > Epsilon.
General Analysis

MediaInfo

File_Bdmv.cpp:738 Low V783 CWE-119 Dereferencing of the invalid iterator 'PIDs_StreamPos.find(stream_PID)' might take place.
General Analysis

MediaInfo

File_Bdmv.cpp:749 Low V793 CWE-691 It is odd that the result of the 'Stream_End - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Bdmv.cpp:1263 Low V793 CWE-691 It is odd that the result of the 'IDs_End - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Bdmv.cpp:1547 Low V793 CWE-691 It is odd that the result of the 'SubPath_extension_End - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Bdmv.cpp:1551 Low V793 CWE-691 It is odd that the result of the 'End - Element_Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Cdxa.cpp:145 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2', '2' in lines 145, 146, 147, 148.
General Analysis

MediaInfo

File_DashMpd.cpp:164 Medium V1002 CWE-665 The 'sequence' class, containing pointers, constructor and destructor, is copied by the automatically generated operator=.
General Analysis

MediaInfo

File_DashMpd.cpp:148 Low V688 The 'BaseURL' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DashMpd.cpp:148 Low V688 The 'SourceDir' function argument possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpAm.cpp:138 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpAm.cpp:234 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpAm.cpp:95 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpAm.cpp:127 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpAm.cpp:260 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpCpl.cpp:361 Medium V1051 CWE-754 Consider checking for misprints. It's possible that the 'Resource->IgnoreEditsBefore' should be checked here.
General Analysis

MediaInfo

File_DcpCpl.cpp:102 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpCpl.cpp:156 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpCpl.cpp:296 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpCpl.cpp:341 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpCpl.cpp:352 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(EditRate2f) > Epsilon.
General Analysis

MediaInfo

File_DcpPkl.cpp:141 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpPkl.cpp:226 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_DcpPkl.cpp:112 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpPkl.cpp:119 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpPkl.cpp:147 Low V526 CWE-253 The 'strcmp' function returns 0 if corresponding strings are equal. Consider examining the condition for mistakes.
General Analysis

MediaInfo

File_DcpPkl.cpp:252 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Dpg.cpp:50 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Audio_Offset, Audio_Size, Video_Offset, Video_Size.
General Analysis

MediaInfo

File_DvDif.cpp:1855 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 1855, 1846.
General Analysis

MediaInfo

File_DvDif.cpp:1482 Medium V547 CWE-571 Expression 'Streams_Audio.size() < Audio_Count' is always true.
General Analysis

MediaInfo

File_DvDif.cpp:1211 Low V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_DvDif.cpp:1392 Low V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_DvDif.cpp:1403 Low V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_DvDif.cpp:1414 Low V523 CWE-691 The 'then' statement is equivalent to the 'else' statement.
General Analysis

MediaInfo

File_DvDif.cpp:1632 Low V525 CWE-682 The code contains the collection of similar blocks. Check items 'Skip_S1_', 'Skip_S1_', 'Skip_S2_' in lines 1632, 1633, 1634.
General Analysis

MediaInfo

File_DvDif.cpp:438 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(OverallBitRate) > Epsilon.
General Analysis

MediaInfo

File_DvDif.cpp:567 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Duration) > Epsilon.
General Analysis

MediaInfo

File_DvDif.cpp:223 Low V730 CWE-457 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: Dseq, Dseq_Old, DBN, FSC, FSP, DSF, ...
General Analysis

MediaInfo

File_Dvdv.cpp:1472 Medium V547 CWE-571 Expression 'Pos < ProgramMap.size()' is always true.
General Analysis

MediaInfo

File_Dvdv.cpp:873 Medium V555 CWE-191 The expression 'Offset - 16 > 0' will work as 'Offset != 16'.
General Analysis

MediaInfo

File_Dvdv.cpp:908 Medium V555 CWE-191 The expression 'Offset - 16 > 0' will work as 'Offset != 16'.
General Analysis

MediaInfo

File_Dvdv.cpp:940 Medium V555 CWE-191 The expression 'Offset - 16 > 0' will work as 'Offset != 16'.
General Analysis

MediaInfo

File_Dvdv.cpp:964 Medium V555 CWE-191 The expression 'Offset - 12 > 0' will work as 'Offset != 12'.
General Analysis

MediaInfo

File_Dvdv.cpp:1537 Medium V555 CWE-191 The expression 'Offset - 12 > 0' will work as 'Offset != 12'.
General Analysis

MediaInfo

File_Dvdv.cpp:395 Low V1008 CWE-691 Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed.
General Analysis

MediaInfo

File_Dvdv.cpp:484 Low V1008 CWE-691 Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed.
General Analysis

MediaInfo

File_Dvdv.cpp:350 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 350, 351, 352.
General Analysis

MediaInfo

File_Flv.cpp:417 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: video_stream_Count, audio_stream_Count, video_stream_FrameRate_Detected, Time, meta_Level, PreviousTagSize_Add11.
General Analysis

MediaInfo

File_Flv.cpp:996 Medium V1020 CWE-772 The function exited without calling the 'BS_End' function. Check lines: 996, 992.
General Analysis

MediaInfo

File_Flv.cpp:473 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Time) > Epsilon.
General Analysis

MediaInfo

File_Flv.cpp:1501 Low V550 CWE-682 An odd precise comparison: Value == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Flv.cpp:1523 Low V550 CWE-682 An odd precise comparison: File_Size != Value. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Flv.cpp:1656 Low V601 CWE-704 The 'true' value is implicitly cast to the integer type. Inspect the fifth argument.
General Analysis

MediaInfo

File_Flv.cpp:468 Low V688 The 'Time' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Gxf.cpp:195 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: Material_Fields_First, Material_Fields_Last, Material_File_Size, TrackNumber.
General Analysis

MediaInfo

File_Gxf.cpp:887 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 887, 893, 908
General Analysis

MediaInfo

File_Gxf.cpp:94 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 94, 95
General Analysis

MediaInfo

File_Gxf.cpp:96 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 96, 97, 113
General Analysis

MediaInfo

File_Gxf.cpp:98 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 98, 99
General Analysis

MediaInfo

File_Gxf.cpp:100 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 100, 101, 109
General Analysis

MediaInfo

File_Gxf.cpp:111 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 111, 112
General Analysis

MediaInfo

File_Gxf.cpp:1477 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Element_Offset' should be checked here.
General Analysis

MediaInfo

File_Gxf.cpp:304 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A) > Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:1272 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) < Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:1282 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate) > Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:1294 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:1305 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Temp) > Epsilon.
General Analysis

MediaInfo

File_Gxf.cpp:300 Low V793 CWE-691 It is odd that the result of the '-' operator is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Gxf_TimeCode.cpp:280 High V1028 CWE-190 Possible overflow. Consider casting operands, not the result.
General Analysis

MediaInfo

File_Gxf_TimeCode.cpp:286 Low V550 CWE-682 An odd precise comparison: Gxf_FrameRate(FrameRate_Code) == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Ism.cpp:97 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Ivf.cpp:84 Low V793 CWE-691 It is odd that the result of the 'header_size - 32' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Lxf.cpp:1063 High V547 CWE-571 Expression 'frameRateCode < 16 - 1' is always true.
General Analysis

MediaInfo

File_Lxf.cpp:114 High V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: SampleSize, Version, File_Buffer_Size_Hint_Pointer.
General Analysis

MediaInfo

File_Lxf.cpp:875 Low V550 CWE-682 An odd precise comparison: Config->ParseSpeed == 0.0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_MiXml.cpp:301 Medium V688 The 'Element' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mk.cpp:2762 High V640 CWE-483 The code's operational logic does not correspond with its formatting. The second statement will always be executed. It is possible that curly brackets are missing.
General Analysis

MediaInfo

File_Mk.cpp:4878 Medium V636 CWE-682 The '0x8FFFFFFF / 10000' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;.
General Analysis

MediaInfo

File_Mk.cpp:2468 Medium V648 CWE-783 Priority of the '&&' operation is higher than that of the '||' operation.
General Analysis

MediaInfo

File_Mk.cpp:1063 Medium V688 The 'Duration' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mk.cpp:1190 Medium V688 The 'Duration' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mk.cpp:4982 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'Offset' should be checked here.
General Analysis

MediaInfo

File_Mk.cpp:4241 Low V524 It is odd that the body of 'Segment_Tracks_TrackEntry_Video_OldStereoMode' function is fully equivalent to the body of 'Segment_Tracks_TrackEntry_Video_StereoMode' function.
General Analysis

MediaInfo

File_Mk.cpp:4492 Low V524 It is odd that the body of 'String_Get' function is fully equivalent to the body of 'UTF8_Get' function.
General Analysis

MediaInfo

File_Mk.cpp:4515 Low V524 It is odd that the body of 'String_Info' function is fully equivalent to the body of 'UTF8_Info' function.
General Analysis

MediaInfo

File_Mk.cpp:2694 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '1', '3', '1' in lines 2694, 2695, 2696.
General Analysis

MediaInfo

File_Mk.cpp:760 Low V550 CWE-682 An odd precise comparison: Duration != 0. It's probably better to use a comparison with defined precision: fabs(A - B) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:1106 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Time) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:1121 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(FrameRate_FromTags) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:2855 Low V550 CWE-682 An odd precise comparison: Config->ParseSpeed == 0. It's probably better to use a comparison with defined precision: fabs(A - B) < Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:2885 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Config->ParseSpeed) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:3350 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Float) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:3366 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(Float) > Epsilon.
General Analysis

MediaInfo

File_Mk.cpp:2926 Low V688 The 'Segment_Cluster_TimeCode_Value' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mk.cpp:700 Low V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: CodecPrivate_Size, InfoCodecID_Format_Type, TrackType, AudioBitDepth, TrackNumber, TrackVideoDisplayWidth, ...
General Analysis

MediaInfo

File_Mk.h:104 Medium V524 It is odd that the body of 'Segment_Info_NextUID' function is fully equivalent to the body of 'Segment_Info_PrevUID' function.
General Analysis

MediaInfo

File_Mk.h:105 Medium V524 It is odd that the body of 'Segment_Info_NextFilename' function is fully equivalent to the body of 'Segment_Info_PrevFilename' function.
General Analysis

MediaInfo

File_Mk.h:158 Medium V524 It is odd that the body of 'Segment_Tracks_TrackEntry_MinCache' function is fully equivalent to the body of 'Ebml_MaxIDLength' function.
General Analysis

MediaInfo

File_Mpeg4.cpp:2822 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 2822, 2795.
General Analysis

MediaInfo

File_Mpeg4.cpp:427 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4.cpp:1454 Medium V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4.cpp:3179 Medium V688 The 'Buffer' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4.cpp:310 Medium V730 CWE-457 Not all members of a class are initialized inside the constructor. Consider inspecting: List, moov_cmov_dcom_Compressor, moov_meta_hdlr_Type, moov_trak_mdia_minf_stbl_stsd_Pos, moov_trak_tkhd_Width, moov_trak_tkhd_Height, ...
General Analysis

MediaInfo

File_Mpeg4.cpp:2866 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2866, 2875
General Analysis

MediaInfo

File_Mpeg4.cpp:2868 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2868, 2869, 2892
General Analysis

MediaInfo

File_Mpeg4.cpp:2870 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2870, 2895
General Analysis

MediaInfo

File_Mpeg4.cpp:2871 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2871, 2893
General Analysis

MediaInfo

File_Mpeg4.cpp:2874 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2874, 2883
General Analysis

MediaInfo

File_Mpeg4.cpp:2878 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2878, 2898, 2899
General Analysis

MediaInfo

File_Mpeg4.cpp:2881 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2881, 2921
General Analysis

MediaInfo

File_Mpeg4.cpp:2909 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2909, 2928
General Analysis

MediaInfo

File_Mpeg4.cpp:2914 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2914, 2935
General Analysis

MediaInfo

File_Mpeg4.cpp:2933 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2933, 2934
General Analysis

MediaInfo

File_Mpeg4.cpp:2941 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2941, 2942
General Analysis

MediaInfo

File_Mpeg4.cpp:2954 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2954, 2955
General Analysis

MediaInfo

File_Mpeg4.cpp:468 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'StreamPos_Last' should be checked here.
General Analysis

MediaInfo

File_Mpeg4.cpp:2513 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'stsz_Current'.
General Analysis

MediaInfo

File_Mpeg4.cpp:2560 Low V522 CWE-690 There might be dereferencing of a potential null pointer 'stsc_Current'.
General Analysis

MediaInfo

File_Mpeg4.cpp:2385 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(BitRate_Nominal) > Epsilon.
General Analysis

MediaInfo

File_Mpeg4.cpp:1260 Low V656 CWE-665 Variables 'Source_Original_Info', 'Source_Info' are initialized through the call to the same function. It's probably an error or un-optimized code. Check lines: 1259, 1260.
General Analysis

MediaInfo

File_Mpeg4.cpp:1631 Low V688 The 'Stream' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4.cpp:2623 Low V769 CWE-119 The 'mdat_Pos_Temp' pointer in the 'mdat_Pos_Temp + mdat_Pos.size()' expression could be nullptr. In such case, resulting value will be senseless and it should not be used.
General Analysis

MediaInfo

File_Mpeg4.cpp:1083 Low V783 CWE-119 Dereferencing of the invalid iterator 'NextStream' might take place.
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:145 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 145, 146
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:695 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 695, 706
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:700 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 700, 707
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:702 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 702, 708
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:709 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 709, 710
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:719 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 719, 736, 739
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:742 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 742, 749
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:744 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 744, 750
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:751 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 751, 752
General Analysis

MediaInfo

File_Mpeg4_Descriptors.cpp:1118 Low V524 It is odd that the body of 'Descriptor_0F' function is fully equivalent to the body of 'Descriptor_09' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2973 High V547 CWE-571 Expression 'FirstMoovPos == (int64u) - 1' is always true.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4307 Medium V1020 CWE-772 The function exited without calling the 'Element_End' function. Check lines: 4307, 4300.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:3971 Medium V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 3971, 4025, 4033
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2048 Medium V547 CWE-570 Expression 'mdat_Pos.empty()' is always false.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2079 Medium V560 CWE-571 A part of conditional expression is always true: Stream_Temp.Parsers.size() > 1.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:3466 Medium V688 The 'List' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:3478 Medium V688 The 'List' local variable possesses the same name as one of the class members, which can result in a confusion.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7953 Medium V793 CWE-691 It is odd that the result of the 'moov_trak_tkhd_Height * d' statement is a part of the condition. Perhaps, this statement should have been compared with something else.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:211 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 211, 215
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:238 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 238, 262
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:241 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 241, 274
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:243 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 243, 244
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:245 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 245, 246
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:258 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 258, 259
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:270 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 270, 273
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:308 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 308, 309, 313
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:315 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 315, 339
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:440 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 440, 441, 442
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:452 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 452, 460
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:457 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 457, 462
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:458 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 458, 463
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2166 Low V1037 CWE-691 Two or more case-branches perform the same actions. Check lines: 2166, 2167
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:2893 Low V1051 CWE-754 Consider checking for misprints. It's possible that the 'data_offset_Final' should be checked here.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7841 Low V1065 CWE-682 Expression can be simplified, check '1' and similar operands.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:1640 Low V524 It is odd that the body of 'idsc' function is fully equivalent to the body of 'idat' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4569 Low V524 It is odd that the body of 'moov_trak_mdia_minf_nmhd' function is fully equivalent to the body of 'meta' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4709 Low V524 It is odd that the body of 'moov_trak_mdia_minf_stbl_sdtp' function is fully equivalent to the body of 'moov_trak_mdia_minf_stbl_cslg' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:8340 Low V524 It is odd that the body of 'moov_udta_DcMD_DcME_Rate' function is fully equivalent to the body of 'meta_iprp_ipco_lsel' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:9056 Low V524 It is odd that the body of 'skip' function is fully equivalent to the body of 'moov_udta_XMP_' function.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:1750 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '2' in lines 1750, 1751, 1752.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4902 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 4902, 4903, 4904.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4972 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2', '2' in lines 4972, 4973, 4974, 4975.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:4982 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '8', '2', '2' in lines 4982, 4983, 4984.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:5129 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '2' in lines 5129, 5130, 5131.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:5642 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '2', '4' in lines 5642, 5643, 5644.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:5791 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '4', '2' in lines 5791, 5792, 5793, 5794.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7916 Low V525 CWE-682 The code contains the collection of similar blocks. Check items '4', '4', '2' in lines 7916, 7917, 7918.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:5857 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(moov_trak_tkhd_Rotation) > Epsilon.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7953 Low V550 CWE-682 An odd precise comparison. It's probably better to use a comparison with defined precision: fabs(moov_trak_tkhd_Height * d) > Epsilon.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7955 Low V624 CWE-547 The constant 3.14159 is being utilized. The resulting value could be inaccurate. Consider using the M_PI constant from <math.h>.
General Analysis

MediaInfo

File_Mpeg4_Elements.cpp:7663 Low V636 CWE-682 The 'Stream_Size_Real * Multiplier' expression was implicitly cast from 'unsigned __int64' type to 'double' type. Consider utilizing an explicit type cast to avoid overflow. An example: double A = (double)(X) * Y;.