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

M. Simpson <matthew.aaron.simpson at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthew.aaron.simpson@gmail
                   |                            |.com

--- Comment #4 from M. Simpson <matthew.aaron.simpson at gmail dot com> ---
$ file a.out 
a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=8730e4750909db3ae281264c026e8ceb6ec4a140, not stripped

$ pacman -Q | grep glibc
glibc 2.22-3
lib32-glibc 2.22-3.1

$ ./a.out 
before:
01111111111111111111111111111111111111111111111111...
after:
22222222222222222222222222222222202222211111111111...
the string should end here       ^

This is on:
Arch Linux 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
GNU/Linux

-- 
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]