Skip to content

amiga: harden filetype MIME handling#35

Open
cyberman wants to merge 1 commit intonetsurf-browser:masterfrom
cyberman:fix/amiga-filetype-bounded-mimetype
Open

amiga: harden filetype MIME handling#35
cyberman wants to merge 1 commit intonetsurf-browser:masterfrom
cyberman:fix/amiga-filetype-bounded-mimetype

Conversation

@cyberman
Copy link

  • Prevent overflows in fetch_filetype() by using bounded copies for ToolType/DataTypes MIME strings.
  • Make extension suffix checks safe for short paths.
  • Replace sprintf with snprintf in DataTypes MIME guessing.

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

Successfully merging this pull request may close these issues.

1 participant