This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19eecef
)
perlapi: Add note about utf8n_to_uvchr_error() return
author
Karl Williamson
<khw@cpan.org>
Fri, 30 Jun 2017 16:12:32 +0000
(10:12 -0600)
committer
Karl Williamson
<khw@cpan.org>
Sat, 1 Jul 2017 23:01:35 +0000
(17:01 -0600)
utf8.c
patch
|
blob
|
blame
|
history
diff --git
a/utf8.c
b/utf8.c
index
2ee701a
..
96c1329
100644
(file)
--- a/
utf8.c
+++ b/
utf8.c
@@
-1006,6
+1006,9
@@
The input C<curlen> parameter was 0.
The input sequence was malformed in that there is some other sequence that
evaluates to the same code point, but that sequence is shorter than this one.
+Until Unicode 3.1, it was legal for programs to accept this malformation, but
+it was discovered that this created security issues.
+
=item C<UTF8_GOT_NONCHAR>
The code point represented by the input UTF-8 sequence is for a Unicode