This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: preprocessor/8729: [3.2/3.3 regression] C preprocessor crashes on files with null characters


reichelt@igpm.rwth-aachen.de wrote:-

> Old Synopsis: C preprocessor crashes on binary ELF files.
> New Synopsis: [3.2/3.3 regression] C preprocessor crashes on files with null characters
> 
> State-Changed-From-To: open->analyzed
> State-Changed-By: reichelt
> State-Changed-When: Wed Nov 27 08:54:01 2002
> State-Changed-Why:
>     Confirmed.
>     
>     The preprocessor (in traditional mode) chokes on files
>     .containing null charecters. Just try the 3-byte attachment.
>     
>     Only the 3.2-branch is affected. Mainline and 3.0.4 are OK.

Mainline was rewritten to be at least moderately sane so I can
quite believe it is fine.

3.0.4 passing is just a fluke I guess, as it's the same as 3.2.

I'm not sure I can find the willpower to fix this, as there are so
many buffer overflows in tradcpp.c that if I fix one you'd easily
trigger another, and the code is really hard to understand and modify.

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]