-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bugs identified by running clang's scan-build-16
on the MLVWM source
#48
Comments
I have addressed all the "dead assignments" identified in |
I'm also skipping the "dead nested assignments" identified in |
… can't be found, as identified by clang scan-build. Issue #48
I have fixed a memory leak in |
…Label() as identified by clang scan-build. Issue #48
I have fixed a |
…as identified by clang scan-build. Issue #48
I have fixed a possible uninitialized argument value in |
…ess_menu() & ChoiseMenu(), as identified by clang scan-build. Issue #48
I have fixed all the potential dereference of null pointer values in |
…identified by clang scan-build. Issue #48
Fixed a dereference of null pointer in |
…r type in config.c's SetDesktopNum(), as identified by clang scan-build. Issue #48
…identally allocate memory for a number of MlvwmWindows instead of just a number of pointers to MlvwmWindows for Scr.LastActive, as identified by clang scan-build. Issue #48
Fixed "allocator sizeof operand mismatch" bugs in |
… identified by clang scan-build. Issue #48
Fixed potential garbage return value in |
I'm going to test this branch for a bit before merging it. |
…by clang warning (not scan-build). Issue #48
Clang was warning about an unused |
There are a couple more compile warnings that I'd like to address now too (related to Issue #6, replacing
Update: No need to address the second warning about |
I also took this opportunity to correct the spelling of |
I recently learned about Clang's
scan-build
tool for identifying bugs and ran the following on my OpenBSD amd64/7.5-stable workstation:Which identified 29 bugs, including:
mlvwm - scan-build results.pdf
The text was updated successfully, but these errors were encountered: