From d89c26d7f41b32eb24255e225c450f0fe77a3b2f Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Fri, 27 Mar 2020 22:17:48 +0000 Subject: Add missing space in stack smash handler error message. ok kettenis@, deraadt@ --- libexec/ld.so/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/ld.so') diff --git a/libexec/ld.so/util.c b/libexec/ld.so/util.c index 916f874cb5d..3d660a969be 100644 --- a/libexec/ld.so/util.c +++ b/libexec/ld.so/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.46 2019/05/08 22:15:48 deraadt Exp $ */ +/* $OpenBSD: util.c,v 1.47 2020/03/27 22:17:47 matthieu Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -54,7 +54,7 @@ __stack_smash_handler(char func[], int damaged) if (_dl_strlen(message) > sizeof(message)/2) _dl_strlcpy(message + sizeof(message)/2, "...", sizeof(message) - sizeof(message)/2); - _dl_strlcat(message, "stack overflow in function ", sizeof message); + _dl_strlcat(message, " stack overflow in function ", sizeof message); _dl_strlcat(message, func, sizeof message); _dl_sendsyslog(message, _dl_strlen(message), LOG_CONS); -- cgit v1.2.3