mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Kernel: Turn a VLA into a statically-sized array in dump_backtrace()
This commit is contained in:
parent
ced8dfa037
commit
3dbb9c8448
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ NEVER_INLINE static void dump_backtrace_impl(FlatPtr base_pointer, bool use_ksym
|
|||
FlatPtr address;
|
||||
const KernelSymbol* symbol { nullptr };
|
||||
};
|
||||
size_t max_recognized_symbol_count = 256;
|
||||
constexpr size_t max_recognized_symbol_count = 256;
|
||||
RecognizedSymbol recognized_symbols[max_recognized_symbol_count];
|
||||
size_t recognized_symbol_count = 0;
|
||||
if (use_ksyms) {
|
||||
|
|
Loading…
Add table
Reference in a new issue