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 #55

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

headius
Copy link
Member

@headius headius commented Mar 16, 2022

This PR will fix #42 and include a test based on the code provided there by @djoooooe.

The test was mistakenly added to master some time ago, and just removed, so this PR restores it and will not pass until the behavior is fixed.

@headius headius marked this pull request as draft November 10, 2022 19:48
@ahorek
Copy link
Contributor

ahorek commented Feb 24, 2023

it works on CRuby, because C silently ignores OOB access. Linking with a proposed fix for CRuby ruby/ruby#5696 (it wasn't merged yet).

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