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

fix: doomu.wad is 9 chars not 8 chars long #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seandockery
Copy link

I just noticed this issue when browsing the source of d_main.c. The calculation of strlen(doomwaddir) + strlen("/") + strlen("doomu.wad") + strlen("\0") seems to be off by one. sprintf will (theoretically) overrun the buffer.

@SeryiBaran
Copy link

#2 (comment)

Copy link

@x64x2 x64x2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Impressive

Copy link

@x64x2 x64x2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Impressive
Got a eye for details

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

Successfully merging this pull request may close these issues.

3 participants