-
Notifications
You must be signed in to change notification settings - Fork 26
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 buffer overflow in M_LoadDefaults #35
Open
AXDOOMER
wants to merge
1
commit into
elhobbs:master
Choose a base branch
from
AXDOOMER:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will be merged? |
This seems like a non-issue to me. Is this causing an actual problem? Considering this port is for a device that you have to hack in order to run this - maybe not that big of a concern?
… On Sep 25, 2020, at 1:43 PM, allanvobraun ***@***.***> wrote:
This will be merged?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Why would you not want to fix a bug that can lead to a crash? |
I am less concerned about issues where it could crash and more concerned about the issues where it does crash - there are a lot of those.
… On Sep 27, 2020, at 1:57 PM, Alexandre-Xavier Labonté-Lamoureux ***@***.***> wrote:
Why would you not want to fix a bug that can lead to a crash?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Seems like a pretty bad reasoning since you could press the merge button and you'd instantly have one less bug in your codebase. |
You are not wrong. I likely will merge the change. I am not really in a rush do this as it will provide no actual benefit. Mostly I just found the issue and link to the cve to be a little ironic given the homebrew context.
The thought of someone going to the effort of creating a malformed file to inject code into a 3ds port of prboom makes me smile a little. And as I said earlier there are a ton of ways to make this crash already - making manual edits to these files when you don’t know what you are doing ... not really a big concern for me.
Keep in mind the source is all on git. Feel free to create your own fork and add actual features. I don’t really do much with this port at this point. And there is certainly a lot of room for improvement.
… On Sep 29, 2020, at 6:38 PM, Alexandre-Xavier Labonté-Lamoureux ***@***.***> wrote:
Seems like a pretty bad reasoning since you could press the merge button and you'd instantly have one less bug in your codebase.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If
fscanf
doesn't limit the number of characters to be read, it can lead to a buffer overflow which allows for arbitrary code execution.CVE-2020-15007: https://nvd.nist.gov/vuln/detail/CVE-2020-15007