]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: use "const char * const" for malloc_options here also
authorderaadt@openbsd.org <deraadt@openbsd.org>
Fri, 23 May 2025 00:40:45 +0000 (00:40 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 23 May 2025 03:40:21 +0000 (13:40 +1000)
OpenBSD-Commit-ID: 869715b9c7e1dd5b85efd07814e7e53f0286eea2

xmalloc.c

index 67191e3f214ddfb15f9bb72a49e50e4c8c00fc8f..bf1da4b89456c91dafb8352e2f17f34b5fee884a 100644 (file)
--- 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 <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, 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 *