scan-build errors in guicast
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....
index. html from bugreport dir attached (full dir like 8 mb uncompressed) On Tuesday, May 31, 2022, Andrew Randrianasulu <[email protected]> wrote:
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....
participants (1)
-
Andrew Randrianasulu