This is the mail archive of the gcc-patches@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]

Re: [PATCH] tradcpp include fix


On Mon, Jul 24, 2000 at 11:19:10AM +0200, Jakub Jelinek wrote:
> Hi!
> 
> There can be cpp_include_defaults directories longer than
> cpp_GCC_INCLUDE_DIR_len, e.g. TOOL_INCLUDE_DIR in some configurations.
> As tradcpp was not updating max_include_len for them and just assumed
> cpp_GCC_INCLUDE_DIR_len is the longest length, it crashed because alloced
> area in do_include was not enough.
> Ok to commit?

Yes, this is fine.

Is this the fix for the crash compiling lilo you told me about last
week?

zw

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