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: (C++) memory overrun fix for arglist in lang_specific_driver


  In message <199908240438.VAA30528@zack.bitmover.com>you write:
  > > However, looking at cppspec.c and f/g77spec.c I think they have a similar
  > > problem -- I do do see where they allocate a argv slot for the last null
  > > argument, nor I do see how they initialize that slot to NULL.
  > 
  > cppspec.c does have the same problem.  Patch follows.
  > 
  > zw
  > 
  > 1999-08-23 21:37 -0700  Zack Weinberg  <zack@bitmover.com>
  > 
  > 	* cppspec.c: Put a null pointer at the end of the new argv.
Thanks.  Approved.

jeff


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