This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [PATCH]: missing check in gas/app.c


On Tue, Sep 13, 2005 at 10:41:09PM +0200, Arnold Metselaar wrote:
> *** src/gas/app.c       2005-05-05 11:12:43.000000000 +0200
> --- src/gas/app.c.new   2005-09-13 22:24:44.000000000 +0200
> ***************
> *** 1302,1307 ****
> --- 1302,1310 ----
>                         case 1: *to++ = *from++;
>                         }
>                     }
> +                 /* normally tested in PUT() */
> +                 if (to >= toend)
> +                     goto tofull;
>                   ch = GET ();
>                 }
>             }

Applied with this ChangeLog entry:

2005-09-28  Arnold Metselaar  <arnold.metselaar@planet.nl>

	* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
	buffer after copying string.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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