File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -513,9 +513,9 @@ S_is_utf8_overlong(const U8 * const s, const STRLEN len)
513513PERL_STATIC_INLINE int
514514S_isFF_overlong (const U8 * const s , const STRLEN len )
515515{
516- /* Returns an int indicating whether or not the UTF-8 sequence from 's' to
517- * 'e' - 1 is an overlong beginning with \xFF. It returns a positive
518- * number if it is; 0 if it isn't, and -1 if there isn't enough
516+ /* Returns an int indicating whether or not the UTF-8 sequence of 'len'
517+ * bytes starting at 's' is an overlong beginning with \xFF. It returns a
518+ * positive number if it is; 0 if it isn't, and -1 if there isn't enough
519519 * information to tell. This last return value can happen if the sequence
520520 * is incomplete, missing some trailing bytes that would form a complete
521521 * character. If there are enough bytes to make a definitive decision,
You can’t perform that action at this time.
0 commit comments