bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11372: [PATCH] avoid buffer overrun: NUL-terminate after strncpy


From: Chong Yidong
Subject: bug#11372: [PATCH] avoid buffer overrun: NUL-terminate after strncpy
Date: Wed, 02 May 2012 18:10:56 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (gnu/linux)

Jim Meyering <address@hidden> writes:

> strncpy is often misused.
> I would argue that nearly any use constitutes misuse.
>
> Here are a few fixes:

Thanks, committed to the emacs-24 branch.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]