Skip to content
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

scan-build results #103

Open
MikeSS8 opened this issue Dec 11, 2024 · 0 comments
Open

scan-build results #103

MikeSS8 opened this issue Dec 11, 2024 · 0 comments

Comments

@MikeSS8
Copy link

MikeSS8 commented Dec 11, 2024

Building edbrowse (current tip of the master branch) using scan-build found 91 total bugs, 50 of which one might call "severe."

These bug reports are often spurious or describe things which can't occur in practice, but 50 of them is rather alarming. Especially for a program that's processing data from the internet.

                 Logic error
Array subscript is undefined                  1          [ ]
Branch condition evaluates to a garbage value 1          [ ]
Dereference of null pointer                   33         [ ]
Result of operation is garbage or undefined   2          [ ]
Uninitialized argument value                  3          [ ]
                Memory error
Bad free                                      5          [ ]
Memory leak                                   2          [ ]
Use of zero allocated                         5          [ ]
Use-after-free                                1          [ ]

Speaking for myself, I only just discovered edbrowse and haven't looked at the source. I like Ed, and using this sort of thing to wrangle the modern internet seems promising and worth fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant