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

PRINT.PAS possible buffer overflow #1

Open
guillaC opened this issue Sep 3, 2024 · 0 comments
Open

PRINT.PAS possible buffer overflow #1

guillaC opened this issue Sep 3, 2024 · 0 comments

Comments

@guillaC
Copy link

guillaC commented Sep 3, 2024

PRINT.PAS

Vulnérabilité potentielle dans ce code qui peut conduire à un buffer overflow, dans les les procédures SubmitFileForPrinting et RemoveFileFromPrintQueue.

PBuffer a une taille fixe de 258 octets, 257 caractères + 1 pour le null terminator

Si la longueur de la chaîne S dépasse 257 caractères, le Move écrira au-delà des limites de PBuffer, ce qui peut corrompre le programme.

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

No branches or pull requests

1 participant