mirror of
https://github.com/drasko/codezero.git
synced 2026-01-23 00:03:15 +01:00
Fixed omission of if curly brackets causing stack corruption.
Initialization a local pointer variable was only done in some conditions causing the uninitialized pointer to corrupt kernel stack of current.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#define __TASKNAME__ "test0"
|
||||
|
||||
#define TEST_VERBOSE_PRINT
|
||||
//#define TEST_VERBOSE_PRINT
|
||||
#if defined (TEST_VERBOSE_PRINT)
|
||||
#define test_printf(...) printf(__VA_ARGS__)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user