IntegerAlex / IntegerAlex/syncro
(CXX-S1004) While processing the buffer using `printf`/`scanf`, not using any width for the format specifier `%s` is vulnerable to buffer overflow
- Langage dominant
- C
- Étoiles
- 2
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## Description
Using I/O operations such as `printf` and `scanf` without setting width limits for format strings can allow for buffer overflow when reading from a stdin pipe or writing to a stdout pipe.
## Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → [app.deepsource.com/gh/IntegerAlex/syncro/issue/CXX-S1004/occurrences/](https://app.deepsource.com/gh/IntegerAlex/syncro/issue/CXX-S1004/occurrences/)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Ouvrez l’occurrence DeepSource CXX-S1004 liée afin d’identifier le fichier source concerné et l’opération d’entrée `%s`. Suivez le tampon impliqué et déterminez la limite de largeur appropriée, puis vérifiez que le chemin d’entrée concerné n’autorise plus une valeur trop grande.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- c
- Domaine
- security
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100