AOSSIE-Org / AOSSIE-Org/EduAid
[BUG]: Unsafe string handling causing runtime errors
Abierto
bug
- Lenguaje dominante
- JavaScript
- Estrellas
- 171
- Forks
- 425
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Bug Description
### Description
Several parts of the codebase assume strings are non-empty and not None.
### Problems
- Direct indexing like `str[0]` without length checks
- Splitting strings without validation
- Calling string methods on None values
### Impact
- IndexError
- AttributeError
- TypeError
### Affected Files
- backend/Generator/server.py
### Code of Conduct
- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.