NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: standards/60369: mbrtowc, mbrlen have wrong return value for some invalid byte sequences



The following reply was made to PR standards/60369; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Cc: wiz%NetBSD.org@localhost, bruno%clisp.org@localhost
Subject: Re: standards/60369: mbrtowc, mbrlen have wrong return value for some invalid byte sequences
Date: Fri, 26 Jun 2026 20:32:56 +0000

 Need automatic tests for this too!
 
 Should really just exhaustively check that mbrtowc does the right
 thing for all possible 4-byte sequences, maybe randomly subsampled for
 regular test suite runs.
 



Home | Main Index | Thread Index | Old Index