Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Failing ssp tests



Works for me, too, in my automated build-and-test environment. This most recent pass was with sources checked out from 2011-03-20 at 04:50:05 UTC...

lib/libc/ssp/t_ssp (235/357): 16 test cases
    fgets: Mar 20 08:24:25 h_fgets -: buffer overflow detected; terminated
Passed.
    getcwd: Mar 20 08:24:25 h_getcwd -: buffer overflow detected; terminated
Passed.
    gets: Mar 20 08:24:26 h_gets -: buffer overflow detected; terminated
Passed.
    memcpy: Mar 20 08:24:26 h_memcpy -: buffer overflow detected; terminated
Passed.
    memmove: Mar 20 08:24:26 h_memmove -: buffer overflow detected; terminated
Passed.
    memset: Mar 20 08:24:27 h_memset -: buffer overflow detected; terminated
Passed.
    read: Mar 20 08:24:27 h_read -: buffer overflow detected; terminated
Passed.
    readlink: Mar 20 08:24:27 h_readlink -: buffer overflow detected; terminated
Passed.
    snprintf: Mar 20 08:24:27 h_snprintf -: buffer overflow detected; terminated
Passed.
    sprintf: Mar 20 08:24:28 h_sprintf -: buffer overflow detected; terminated
Passed.
    strcat: Mar 20 08:24:28 h_strcat -: buffer overflow detected; terminated
Passed.
    strcpy: Mar 20 08:24:28 h_strcpy -: buffer overflow detected; terminated
Passed.
    strncat: Mar 20 08:24:29 h_strncat -: buffer overflow detected; terminated
Passed.
    strncpy: Mar 20 08:24:29 h_strncpy -: buffer overflow detected; terminated
Passed.
    vsnprintf: Mar 20 08:24:29 h_vsnprintf -: buffer overflow detected; 
terminated
Passed.
    vsprintf: Mar 20 08:24:30 h_vsprintf -: buffer overflow detected; terminated
Passed.


On Sun, 20 Mar 2011, Joerg Sonnenberger wrote:

On Sun, Mar 20, 2011 at 09:39:59AM +0000, Julio Merino wrote:
As an example, doing "echo adlkfjldskfjd | ./h_fgets 11" in
src/tests/lib/libc/ssp results in a crash with the binary built with
USETOOLS=no, but not with the one built with nbmake-amd64 (i.e. the
ones I have in destdir or in /usr/tests/lib/libc/ssp).

Works for me (TM). Fresh release build installed into a VM, all tests
crash as expected.

Joerg

!DSPAM:4d85f6112448764426746!




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index