1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openeuler-iSulad

 / Детали:

При проверке длины пути существует риск переполнения.

Предстоит сделать
Владелец
Создано  
03.03.2025

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:

Комментарий (0)

GitLife Service Account Задача создана
GitLife Service Account добавлено
 
sig/iSulad
label.
Развернуть журнал операций

Вход Перед тем как оставить комментарий

Статус
Ответственный
Контрольная точка
Pull Requests
Связанные запросы на слияние могут быть закрыты после их объединения
Ветки
Дата начала   -   Крайний срок
-
Закрепить/Открепить
Приоритет
Участники(1)
1
https://api.gitlife.ru/oschina-mirror/openeuler-iSulad.git
git@api.gitlife.ru:oschina-mirror/openeuler-iSulad.git
oschina-mirror
openeuler-iSulad
openeuler-iSulad