Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 80e55ef8 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

CMD: Limit the command name size to avoid big recursive calls

We do that because an ill-intentioned client might send a 2000 character
long command name to try to SEGV the lektord process because of a stack
to small to handle all the recursive calls.

The recursive calls are done in the trie find function, where the stack
consumed by each calls increases each time a recursive call is done
(indexes and other local variables...).
parent 65f06934
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!162Add a trie structure to get all the commands + various fixes
Chargement en cours
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter