[PATCH] gas: config: Fix memory overflow issue about strncat()
Alan Modra
amodra@gmail.com
Tue Oct 14 23:35:00 GMT 2014
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
More information about the Binutils
mailing list