—
GO-2026-6218
Avoid quadratic complexity in resolvePath in net/url
빠른 조치
GO-2026-6218 — stdlib: 아래 명령으로 수정 버전으로 올리세요.
go get stdlib@v1.25.13 상세
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead.
Now, path resolution operates on a byte buffer using index-based backtracking for '..' segments, eliminating the quadratic time complexity and significantly reducing memory allocations.
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.