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] gas: config: Fix memory overflow issue about strncat()


On Mon, Oct 13, 2014 at 11:05:53PM +0800, Chen Gang wrote:
> strncat() will append additional '\0' to destination memory, so need
> additional 1 byte for it, or may cause memory overflow.
> 
> 2014-10-14  Chen Gang  <gang.chen.5i5j@gmail.com>
> 
> 	* config/tc-tic4x.c (md_assemble): Fix memory overflow issue
> 	about strncat().

Thanks, applied.

-- 
Alan Modra
Australia Development Lab, IBM


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