summaryrefslogtreecommitdiff
path: root/src/common/tusb_debug.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-02-22 12:54:32 +0700
committerGitHub <[email protected]>2023-02-22 12:54:32 +0700
commit557bf82336311611ba3b06e57f48d03362f3d2c3 (patch)
tree97bbedf9ff81a90bd8a85ab33abcc2543bd5df33 /src/common/tusb_debug.h
parent334263523756bf6539546bd11915299704034a39 (diff)
parentbcf5e5f72918a7f5ee991f8d1cc3d4f9a3b2b306 (diff)
Merge pull request #1867 from silvergasp/thread_local_globals
fix: Change all static variables to thread when fuzzing
Diffstat (limited to 'src/common/tusb_debug.h')
-rw-r--r--src/common/tusb_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_debug.h b/src/common/tusb_debug.h
index 65fd1920d..e5f718f79 100644
--- a/src/common/tusb_debug.h
+++ b/src/common/tusb_debug.h
@@ -114,7 +114,7 @@ typedef struct
static inline const char* tu_lookup_find(tu_lookup_table_t const* p_table, uint32_t key)
{
- static char not_found[11];
+ static _fuzz_thread char not_found[11];
for(uint16_t i=0; i<p_table->count; i++)
{