==19429== Memcheck, a memory error detector ==19429== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==19429== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==19429== Command: tftp 10.7.1.1 -c get pxelinux.0 ==19429== --19429-- Valgrind options: --19429-- -v --19429-- Contents of /proc/version: --19429-- Linux version 2.6.32-el-smp-alt23 (builder@apiary.orion.altlinux.org) (gcc version 4.4.5 20101112 (ALT Linux 4.4.5-alt3) (GCC) ) #1 SMP Mon Jun 6 09:31:15 UTC 2011 --19429-- Arch and hwcaps: X86, x86-sse1-sse2 --19429-- Page sizes: currently 4096, max supported 4096 --19429-- Valgrind library directory: /usr/lib/valgrind --19429-- Reading syms from /lib/ld-2.11.3.so (0x4000000) --19429-- Reading syms from /usr/bin/tftp (0x8048000) --19429-- object doesn't have a symbol table --19429-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000) --19429-- object doesn't have a symbol table --19429-- object doesn't have a dynamic symbol table --19429-- Reading suppressions file: /usr/lib/valgrind/default.supp --19429-- REDIR: 0x4016c20 (strlen) redirected to 0x38040038 (???) --19429-- REDIR: 0x4016a20 (index) redirected to 0x38040013 (???) --19429-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x4021000) --19429-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4024000) ==19429== WARNING: new redirection conflicts with existing -- ignoring it --19429-- new: 0x04016a20 (index ) R-> 0x04028320 index ==19429== WARNING: new redirection conflicts with existing -- ignoring it --19429-- new: 0x04016c20 (strlen ) R-> 0x04028750 strlen --19429-- Reading syms from /lib/libreadline.so.5.2 (0x403c000) --19429-- object doesn't have a symbol table --19429-- Reading syms from /lib/libc-2.11.3.so (0x406e000) --19429-- object doesn't have a symbol table --19429-- Reading syms from /lib/libtinfo.so.5.7 (0x41d2000) --19429-- object doesn't have a symbol table --19429-- REDIR: 0x40e25d0 (rindex) redirected to 0x4028190 (rindex) --19429-- REDIR: 0x40de2e0 (malloc) redirected to 0x4027e40 (malloc) --19429-- REDIR: 0x40e21b0 (strlen) redirected to 0x4028710 (strlen) --19429-- REDIR: 0x40e3b60 (mempcpy) redirected to 0x402a5b0 (mempcpy) --19429-- REDIR: 0x40e4130 (memcpy) redirected to 0x40293f0 (memcpy) --19429-- REDIR: 0x40e31d0 (strstr) redirected to 0x402a870 (strstr) --19429-- REDIR: 0x40e37f0 (memchr) redirected to 0x40293b0 (memchr) --19429-- REDIR: 0x40e6970 (strchrnul) redirected to 0x402a470 (strchrnul) --19429-- REDIR: 0x40e3f60 (strncasecmp) redirected to 0x4028df0 (strncasecmp) --19429-- REDIR: 0x40de7a0 (free) redirected to 0x4027040 (free) --19429-- REDIR: 0x40e1bb0 (strcmp) redirected to 0x4029270 (strcmp) --19429-- REDIR: 0x40e3dc0 (stpcpy) redirected to 0x4029f80 (stpcpy) --19429-- REDIR: 0x40e1c30 (strcpy) redirected to 0x4028790 (strcpy) --19429-- REDIR: 0x40df280 (calloc) redirected to 0x4026560 (calloc) --19429-- Reading syms from /lib/libnss_files-2.11.3.so (0x45ec000) --19429-- object doesn't have a symbol table --19429-- REDIR: 0x40e68a0 (rawmemchr) redirected to 0x402a4a0 (rawmemchr) --19429-- REDIR: 0x40e19f0 (index) redirected to 0x4028260 (index) --19429-- REDIR: 0x414f560 (__strcpy_chk) redirected to 0x402a4e0 (__strcpy_chk) **19429** *** strcpy_chk: buffer overflow detected ***: program terminated ==19429== at 0x4028157: VALGRIND_PRINTF_BACKTRACE (valgrind.h:4477) ==19429== by 0x402A52F: __strcpy_chk (mc_replace_strmem.c:893) ==19429== by 0x8049031: ??? (in /usr/bin/tftp) ==19429== by 0x80496DA: ??? (in /usr/bin/tftp) ==19429== by 0x804A348: ??? (in /usr/bin/tftp) ==19429== by 0x804AC12: ??? (in /usr/bin/tftp) ==19429== by 0x4084C95: (below main) (in /lib/libc-2.11.3.so) --19429-- Discarding syms at 0x45edaa0-0x45f5038 in /lib/libnss_files-2.11.3.so due to munmap() ==19429== ==19429== HEAP SUMMARY: ==19429== in use at exit: 361 bytes in 2 blocks ==19429== total heap usage: 52 allocs, 50 frees, 4,144 bytes allocated ==19429== ==19429== Searching for pointers to 2 not-freed blocks ==19429== Checked 208,032 bytes ==19429== ==19429== LEAK SUMMARY: ==19429== definitely lost: 0 bytes in 0 blocks ==19429== indirectly lost: 0 bytes in 0 blocks ==19429== possibly lost: 0 bytes in 0 blocks ==19429== still reachable: 361 bytes in 2 blocks ==19429== suppressed: 0 bytes in 0 blocks ==19429== Rerun with --leak-check=full to see details of leaked memory ==19429== ==19429== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 10) --19429-- --19429-- used_suppression: 19 U1004-ARM-_dl_relocate_object ==19429== ==19429== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 10)