Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix length error #180

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Fix length error #180

merged 2 commits into from
Sep 4, 2024

Conversation

bab2min
Copy link
Owner

@bab2min bab2min commented Sep 4, 2024

bab2min/kiwipiepy#172 에서 제보된 std::length_error 예외 문제를 해결하는 패치.
공백 문자 없이 문자가 8192개(종성 분리된 한글 기준) 이상 연속하고 경계 지점에 특수 문자가 나타나는 상황에서 발생.
위 상황에서 새 노드를 삽입할 때 배열 경계를 벗어나는 값을 참조하는게 원인.

@bab2min bab2min merged commit f29ae4e into main Sep 4, 2024
12 checks passed
@bab2min bab2min deleted the fix_length_error branch September 4, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant