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 AIOOB in CP50220 transcoding #64

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Fix AIOOB in CP50220 transcoding #64

merged 1 commit into from
Jan 16, 2025

Conversation

ahorek
Copy link
Contributor

@ahorek ahorek commented Jan 16, 2025

fixes #42
replaces #55

@headius headius merged commit 40844c0 into jruby:master Jan 16, 2025
3 checks passed
@headius headius added this to the 1.0.60 milestone Jan 16, 2025
@headius
Copy link
Member

headius commented Jan 16, 2025

Without totally understanding the bug, this fix looks good and seems to match the C version. I also found the CRuby test that's failing on JRuby 10, which should be fixed by this:

https://github.com/jruby/jruby/actions/runs/12797824384/job/35680596698#step:7:1890

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.

ArrayIndexOutOfBoundsExceptions when transcoding UTF8-SoftBank=>SJIS-KDDI or CP51932=>CP50220
2 participants