We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 048d844 commit 8b42723Copy full SHA for 8b42723
lib/libc/sys/stack_protector.c
@@ -39,12 +39,12 @@ extern
39
#endif
40
long __stack_chk_guard[8] __attribute__((alias("__guard")));
41
42
-void __stack_smash_handler(char func[], int damaged __attribute__((unused)));
+void __stack_smash_handler(const char func[], int damaged __attribute__((unused)));
43
void __attribute__((noreturn)) __stack_chk_fail(void);
44
45
/*ARGSUSED*/
46
void
47
-__stack_smash_handler(char func[], int damaged)
+__stack_smash_handler(const char func[], int damaged)
48
{
49
struct syslog_data sdata = SYSLOG_DATA_INIT;
50
const char *message = "stack overflow in function %s";
0 commit comments