Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/ssp In the strcat test, smash the stack more ...



details:   https://anonhg.NetBSD.org/src/rev/50988d951296
branches:  trunk
changeset: 325872:50988d951296
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jan 10 10:45:34 2014 +0000

description:
In the strcat test, smash the stack more severely (this all may depend
on alignment and stack frame details).
The gcc folks disagree with this test in general:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59750

diffstat:

 tests/lib/libc/ssp/t_ssp.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ba14f89b976e -r 50988d951296 tests/lib/libc/ssp/t_ssp.sh
--- a/tests/lib/libc/ssp/t_ssp.sh       Fri Jan 10 09:43:15 2014 +0000
+++ b/tests/lib/libc/ssp/t_ssp.sh       Fri Jan 10 10:45:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ssp.sh,v 1.5 2011/06/12 21:12:46 plunky Exp $
+# $NetBSD: t_ssp.sh,v 1.6 2014/01/10 10:45:34 martin Exp $
 #
 # Copyright (c) 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -177,7 +177,7 @@
        prog="$(atf_get_srcdir)/h_strcat"
 
        h_pass "$prog 0123456"
-       h_fail "$prog 012345678"
+       h_fail "$prog 0123456789ABCDEF"
 }
 
 atf_test_case strncpy



Home | Main Index | Thread Index | Old Index