cvs commit: src/lib/libc/locale utf8.c

Andrey Chernov ache at nagual.pp.ru
Thu Oct 25 13:17:44 PDT 2007


On Thu, Oct 25, 2007 at 11:57:09PM +0400, Andrey Chernov wrote:
> On Thu, Oct 25, 2007 at 03:31:20PM -0400, Daniel Eischen wrote:
> >> Although standard permit this, it will cause lots of programs to break
> >> here and there and even may cause core dump. I don't think it is what
> >> everybody wants. Non-inlined versions a) not used nowdays b) must be exact
> >> as inlined.
> > 
> > If programs are incorrectly written, and they use inlines, then
> > that is not our fault :-)
> 
> The amount of such programs is extremely big to ignore, even FreeBSD is 
> not 100% clean, not say about ports. Usually ASCII-only people did't 
> notice any side effects because typed 7-bit ASCII. It doesn't mean that 
> the rest of the world don't exists.

Besides false positives and core dumps, without error checking security 
issues are possible like inserting crafted code in the stream, when ctype 
is not properly programmed, etc. surprises. We surely don't want all of 
that.

-- 
http://ache.pp.ru/


More information about the cvs-src mailing list