-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Syntax Error in ‘src/torrent/object_raw_bencode.h’ #8
Comments
Just to note; I am auditing your code in general. What would be the easiest way for me to send you the things I find? There are quite a lot of issues in your code: you use variable-sized buffers all over, esp. in the memory management section... you really should probably use Moreover, the code in general a complete mess. You misspell things all the time (I understand English isn’t your first language) and the documentation is awful. |
Variable-length arrays are part of C99, and nice to use so I use them. While some uses of non-POD cases need to be fixed it is a limited issue. In those the other cases it is no more incorrect or insecure than their use in C99. Same for enums, what is C or C++ style doesn't matter. And length of bind arguments only matter if they are incorrect, with type safety ensuring that the arguments are the right type. Real examples of issues are whats needed, not generic statements on style are less useful. Removed several extra semicolons. |
I really dislike the way you’ve responded to my previous bug reports, but I don’t want your software to be broken so I am going through it to find bugs since you obviously don’t seem to really care about them. Hopefully this will make the Internet just a tiny bit more secure.
Anyway, in ‘src/torrent/object_raw_bencode.h’ we have the following:
bool empty() const { return m_size == 0;; }
Which should obviously be:
bool empty() const { return m_size == 0; }
You’re welcome!
The text was updated successfully, but these errors were encountered: