Skip to content

amiga: bound copy of printer unit name#37

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

amiga: bound copy of printer unit name#37
cyberman wants to merge 1 commit intonetsurf-browser:masterfrom
cyberman:fix/amiga-print-bounded-unitname

Conversation

@cyberman
Copy link

  • Respect the namesize parameter in ami_print_readunit() when copying pdev.pd_UnitName.
  • Avoid potential buffer overflow by replacing strcpy with bounded strlcpy.

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