-
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
[patch] tlXMLParser.cc:cdata_handler
buffer overflow.
#1751
Comments
Thanks. This is also EXPAT-only. But enabling 2FA isn't a big problem. It will give you more credibility. But the patch definitely makes sense. Matthias |
Nothing to do with the issue itself. Just wanted to let you know for 2FA. You can use other programs than android/ios apps. If you checkout https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-totp-app , there is a part about "setup key" link; this will allow you to get the TOTP secret without having to go through the QR code. Using this key will allow you to use other TOTP managers such as the desktop app of BitWarden and similar. My personal favorite is KeePassXC (with browser plugin). With this you aren't dependent on any google/apple platform (assuming that is your problem). If that's not your primary concern but failed somewhere else, let me know, I'd be happy to jump on a quick call or similar to help you set it up. Tl;dr 2FA really shouldn't be the thing stopping you from contributing and it would be a shame if that's the road block. |
No. I already "have" an account that is permanently unreachable because of the fubar'ed 2FA, and recently I found that some of the repos still associated with it have "personal data". I intend to NEVER repeat this experience. |
Hello,
in
cdata_handler
there is a call like this:this will not work, because the prototype
(char* , int start, unsigned int number)
does not exist.It will be implicitly cast to
(std::string, int start, unsigned int number)
, so it will runstd::string
constructor, which is a disaster, becauses
is not 0-terminated, so thestrlen
embedded intostd::string
constructor will run until the end of memory.The following patch fixes the problem:
apply it with
patch -p0 < patchname.patch
.I cannot make pull requests on github, because that requires activating 2FA, and I didn't manage to make it work.
The text was updated successfully, but these errors were encountered: