mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
As noted by Peter Jeremy, r234528 only partially fixed the infinite
loop bug introduced in r187302. This completes the fix. PR: 167039 MFC after: 3 days
This commit is contained in:
parent
666d00d34a
commit
86dc3a9ae2
1 changed files with 1 additions and 1 deletions
|
|
@ -61,8 +61,8 @@ fputws_l(const wchar_t * __restrict ws, FILE * __restrict fp, locale_t locale)
|
|||
uio.uio_iov = &iov;
|
||||
uio.uio_iovcnt = 1;
|
||||
iov.iov_base = buf;
|
||||
wsp = ws;
|
||||
do {
|
||||
wsp = ws;
|
||||
nbytes = l->__wcsnrtombs(buf, &wsp, SIZE_T_MAX, sizeof(buf),
|
||||
&fp->_mbstate);
|
||||
if (nbytes == (size_t)-1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue