Skip to content

Instantly share code, notes, and snippets.

@agentzh
Created May 18, 2023 05:46
Show Gist options
  • Save agentzh/b171be912307c1a63bd2c5374f3698ed to your computer and use it in GitHub Desktop.
Save agentzh/b171be912307c1a63bd2c5374f3698ed to your computer and use it in GitHub Desktop.
commit 3f40c3380c50652218988db6708d35e3872c4ef2
Author: Yichun Zhang (agentzh) <yichun@openresty.com>
Date: Thu May 18 05:43:48 2023 +0000
PR30459: removed an unused large C array allocated on the kernel stack
diff --git a/runtime/sym.c b/runtime/sym.c
index d2c4acfb3..4eedf58d8 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -947,7 +947,6 @@ static int _stp_usermodule_check(struct task_struct *tsk, const char *path_name,
struct _stp_module *m = NULL;
unsigned long notes_addr;
unsigned i, j;
- unsigned char practice_id_bits[MAXSTRINGLEN];
unsigned long vm_end = 0;
#ifdef STP_NO_BUILDID_CHECK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment