Date: Mon, 22 Aug 2016 13:05:19 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 212033] fgetwln(3) fails to report most encoding errors Message-ID: <bug-212033-8-uuxDMx3g1I@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-212033-8@https.bugs.freebsd.org/bugzilla/> References: <bug-212033-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212033 Andrey Chernov <ache@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ache@FreeBSD.org --- Comment #1 from Andrey Chernov <ache@FreeBSD.org> --- The check miss one condition: if (len =3D=3D 0 || (wc =3D=3D WEOF && (fp->_flags & __SERR))) goto error; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212033-8-uuxDMx3g1I>