Слияние кода завершено, страница обновится автоматически
Issue Title: Risk of buffer overflow when checking path length
Environment Details:
Steps to Reproduce Issue:
Specific steps to reproduce:
Many places in the code check the length of concatenated paths, which can lead to an overflow risk.
As shown in the following figure: the length of strlen(parts[iter])
is not controlled, representing a risk.
Probability of error occurrence (reproducibility, probabilistic error)
Expected Result: No risk of buffer overflow
Actual Result: Buffer overflow risk present
Attached Data:
Вход Перед тем как оставить комментарий