This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Possible bug in fortified stpncpy


On August 8, 2015 11:32:33 PM EDT, Mike Frysinger <vapier@gentoo.org> wrote:
>On 08 Aug 2015 17:06, Zack Weinberg wrote:
>> may be backward.  The code should call the runtime-checking function
>> if __n is not constant, or if __n is known to be LARGER than the size
>> of the destination.  Ne?
>
>agreed.  feel like sending a patch ? :)

In the morning, unless you want to beat me to it; it's only two characters need changing :-)

zw


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