This is the mail archive of the glibc-bugs@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]

[Bug string/19390] Integer overflow in strncat


https://sourceware.org/bugzilla/show_bug.cgi?id=19390

--- Comment #6 from Alexander Cherepanov <cherepan at mccme dot ru> ---
(In reply to howey014 from comment #1)
> I tried your code on ppc 32-bit, with glibc 2.20 as I didn't have 2.22
> available.

(In reply to cvs268 from comment #2)
> Tried the sample-code on ARM (Cortex A9) running Ubuntu 12.04.
[skip]
> So works properly, no issues, right?

Thanks for testing it on different archs. Yes, this particular test is fine.

I attached a fuller test which tries all offsets and all lengths upto 64 (you
can change it to 128 if you want). It will either print "Ok" or details of the
first found fail. Please try it on your platforms.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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