Bounds Checking GCC v gcc-3.3.6-3.2 Copyright (C) 1995 Richard W.M. Jones Bounds Checking comes with ABSOLUTELY NO WARRANTY. For details see file `COPYING' that should have come with the source to this program. Bounds Checking is free software, and you are welcome to redistribute it under certain conditions. See the file `COPYING' for details. For more information, set GCC_BOUNDS_OPTS to `-help' url.c:3130:Bounds error: array reference outside bounds of the array. url.c:3130: Pointer value: 0xbfffd880 url.c:3130: Object `passwd': url.c:3130: Address in memory: 0xbfffd780 .. 0xbfffd87f url.c:3130: Size: 256 bytes url.c:3130: Element size: 1 bytes url.c:3130: Number of elements: 256 url.c:3130: Created at: url.c, line 2288 url.c:3130: Storage class: stack 03:23:03.496839 * About to connect() to 127.0.0.1 port 21 03:23:03.497181 * Trying 127.0.0.1... connected 03:23:03.497707 * Connected to 127.0.0.1 (127.0.0.1) port 21 03:23:03.499196 < 220 ProFTPD 1.2.10 Server (tinderbox) [127.0.0.1] 03:23:03.499561 > USER anonymous 03:23:03.499870 < 331 Anonymous login ok, send your complete email address as your password. 03:23:03.500106 > PASS curl_by_daniel@haxx.se 03:23:03.501294 < 230 Anonymous access granted, restrictions apply. 03:23:03.501531 > PWD 03:23:03.501797 < 257 "/" is current directory. 03:23:03.502005 * Entry path is '/' inet_ntop.c:92:Bounds error: strncpy with this destination string and size 256 would overrun the end of the object's allocated memory. inet_ntop.c:92: Pointer value: 0xbfffcdf0 inet_ntop.c:92: Object `add': inet_ntop.c:92: Address in memory: 0xbfffcde0 .. 0xbfffcdef inet_ntop.c:92: Size: 16 bytes inet_ntop.c:92: Element size: 1 bytes inet_ntop.c:92: Number of elements: 16 inet_ntop.c:92: Created at: ftp.c, line 1087 inet_ntop.c:92: Storage class: stack 03:23:03.504907 * Telling server to connect to 127.0.0.1:36566 03:23:03.505177 > PORT 127,0,0,1,142,214 03:23:03.505494 < 200 PORT command successful 03:23:03.505700 * Connect data stream actively 03:23:03.505901 > TYPE A 03:23:03.506152 < 200 Type set to A 03:23:03.506350 > LIST 03:23:03.506696 < 150 Opening ASCII mode data connection for file list 03:23:03.507160 * Connection accepted from server % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 131 0 131 0 0 11088 0 --:--:-- --:--:-- --:--:-- 1108803:23:03.508967 < 226 Transfer complete. 100 131 0 131 0 0 10259 0 --:--:-- --:--:-- --:--:-- 003:23:03.509728 * Connection #0 to host 127.0.0.1 left intact 03:23:03.510027 > QUIT 03:23:03.510355 < 221 Goodbye. 03:23:03.510695 * Closing connection #0 Bounds library call frequency statistics: Calls to push, pop, param function: 1091, 1091, 586 Calls to add, delete stack: 1926, 1926 Calls to add, delete heap: 1881, 1861 Calls to check pointer +/- integer: 6044 Calls to check array references: 688 Calls to check pointer differences: 306 Calls to check object references: 13334 Calls to check component references: 11530 Calls to check truth, falsity of pointers: 390, 230 Calls to check <, >, <=, >= of pointers: 877 Calls to check ==, != of pointers: 113 Calls to check p++, ++p, p--, --p: 4933, 1404, 351, 0 Calls to add, find, delete oob pointers: 0, 0, 0 References to unchecked static, stack: 94, 0