From: deraadt@openbsd.org Date: Fri, 23 May 2025 00:40:45 +0000 (+0000) Subject: upstream: use "const char * const" for malloc_options here also X-Git-Tag: V_10_1_P1~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b8bee62d72ffb3c419c9ead6c9fb1a586283868;p=thirdparty%2Fopenssh-portable.git upstream: use "const char * const" for malloc_options here also OpenBSD-Commit-ID: 869715b9c7e1dd5b85efd07814e7e53f0286eea2 --- diff --git a/xmalloc.c b/xmalloc.c index 67191e3f2..bf1da4b89 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xmalloc.c,v 1.37 2022/03/13 23:27:54 cheloha Exp $ */ +/* $OpenBSD: xmalloc.c,v 1.38 2025/05/23 00:40:45 deraadt Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -27,7 +27,7 @@ #include "log.h" #if defined(__OpenBSD__) -char *malloc_options = "S"; +const char * const malloc_options = "S"; #endif /* __OpenBSD__ */ void *