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

pp_send uses sv_pos_b2u/sv_pos_u2b #10169

Open
p5pRT opened this issue Feb 13, 2010 · 4 comments
Open

pp_send uses sv_pos_b2u/sv_pos_u2b #10169

p5pRT opened this issue Feb 13, 2010 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 13, 2010

Migrated from rt.perl.org#72778 (status was 'new')

Searchable as RT72778$

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2010

From @nwc10

pp_sys.c
1947​: Remember that the second argument to sv_pos_u2b is relative
1949​: sv_pos_u2b(bufsv, &start, &len_I32);

This means that send and syswrite with an offset won't work on UTF-8 strings
over 2GB.

Nicholas Clark

1 similar comment
@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2010

From @nwc10

pp_sys.c
1947​: Remember that the second argument to sv_pos_u2b is relative
1949​: sv_pos_u2b(bufsv, &start, &len_I32);

This means that send and syswrite with an offset won't work on UTF-8 strings
over 2GB.

Nicholas Clark

@p5pRT
Copy link
Author

p5pRT commented Sep 16, 2010

From @cpansprout

Copy of 72778.

@p5pRT
Copy link
Author

p5pRT commented Sep 16, 2010

@cpansprout - Status changed from 'new' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants