[Cin] scan-build errors in guicast

Andrew Randrianasulu randrianasulu at gmail.com
Tue May 31 19:25:22 CEST 2022


scan-build is clang-based static analyzer. 'scan-build make - j 8'

I run it over just guicast subdirectiry and got 63 errors:

ory Double delete linklist.h destroy 31 6 V
error R
Memory Double delete bcwindowbase.C ~BC_WindowBase 135 16 V
error R
Memory Memory leak bootstrap.c main 195 17 V
error R
Memory Memory leak bctheme.C new_button 284 10 V
error R
Memory Memory leak bcwindowbase.C init_resources 4529 8 V
error R
Memory Memory leak bctheme.C new_button 325 10 V
error R
Memory Memory leak bootstrap.c main 196 17 V
error R
       Result of
Logic operation is pngtoraw.c main 93 14 V
error garbage or R
       undefined
       Result of
Logic operation is bctextbox.C cursor_motion_event 952 10 V
error garbage or R
       undefined
Logic Unix API bcresources.C find_fontentry 1750 15 V
error R
Logic Unix API bctextbox.C wdemand 1745 5 V
error R
Logic Unix API bctextbox.C tdemand 1757 14 V
error R
Memory Use-after-free arraylist.h get 88 8 V
error R
Memory Use-after-free bcsynchronous.C run 208 17 V
error R
Memory Use-after-free thread.C start 91 13 V
error R
http://127.0.0.1:8181/report-4938ea.html#EndPath


oh, first pages were truncated.. I'll try to send complete report dir
archive soon

but most wirrying use after free and null pointers....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220531/4deb2892/attachment.htm>


More information about the Cin mailing list