Baptiste Daroussin <b...@freebsd.org> writes: > Dag-Erling Smørgrav <d...@des.no> writes: > > Baptiste Daroussin <b...@freebsd.org> writes: > > > Or a fix can be made, if you provide an example of the failing case, I > > > would be able to fix it and add it to the regression tests. > > Any operation that specifies a GECOS containing multibyte characters. > Right so it is fixed.
Not really. After your latest commit, it will appear to work, but it will still be broken. A proper fix would entail converting all input to wide strings, validating it as such and converting back before output. Also, the validation is based on blacklisting specific characters which are considered unsafe instead of whitelisting those that are known to be safe. DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"