[Bug string/21771] Incorrect value of wcrtomb

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jul 14 20:54:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21771

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |fweimer at redhat dot com
         Resolution|---                         |INVALID
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Based on the documentation, that is correct.  If the first argument is NULL,
the character argument is ignored, and the result is one plus the number of
bytes required to return to the initial shift state (so always one for UTF-8).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list