[Bug 212033] fgetwln(3) fails to report most encoding errors

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 22 13:05:20 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212033

Andrey Chernov <ache at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ache at FreeBSD.org

--- Comment #1 from Andrey Chernov <ache at FreeBSD.org> ---
The check miss one condition:

if (len == 0 || (wc == WEOF && (fp->_flags & __SERR)))
    goto error;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list