Hi,
there's a bug in wcsrtombs (mingw-w64-crt/misc/wcrtomb.c) if null is
passed as destination buffer. In this case, wcsrtombs does not ignore
the len argument. Yet, according to the C99 standard, if the dst is
null, the len argument is ignored.
The attached patch fixes this bug.
Regards,
Tim Ko
Hi,
the reverse function mbsrtowcs (mingw-w64-crt/misc/mbrtowc.c) suffers
from the same problem. This second patch fixes this function as well.
Regards,
Tim Kosse
On 2016-01-04 01:19, Tim Kosse wrote:
> Hi,
>
> there's a bug in wcsrtombs (mingw-w64-crt/misc/wcrtomb.c) if null is
> passed as des
Thanks for your feedback.
FWIW I wouldn't suggest you build nano with '--disable-color' because it will
effectively make nano a 'plain text editor' rather than a 'code editor', and it
is the only editor I use on Linux, at yet.
--
Best regards,
lh_m