diff options
| author | hathach <thach@tinyusb.org> | 2019-01-09 20:39:35 +0700 |
|---|---|---|
| committer | hathach <thach@tinyusb.org> | 2019-01-09 20:39:35 +0700 |
| commit | f366e3feea69147bd9e2dfb723ef7b0801352dc3 (patch) | |
| tree | 94ef6804188e3f04944e5eae069e6e40b2078944 /supervisor/shared | |
| parent | cfc4c8cbfa8c6f197aaa3da3e78cfdcced06619a (diff) | |
| parent | 172311fad896fdb0780bdd6597b0b6d4d8bdadd3 (diff) | |
Merge branch 'master' into nrf52_pulsein
Diffstat (limited to 'supervisor/shared')
| -rwxr-xr-x | supervisor/shared/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/supervisor/shared/stack.c b/supervisor/shared/stack.c index 71e239c0a..311fa31b2 100755 --- a/supervisor/shared/stack.c +++ b/supervisor/shared/stack.c @@ -56,7 +56,7 @@ void allocate_stack(void) { } inline bool stack_ok(void) { - return *stack_alloc->ptr == STACK_CANARY_VALUE; + return stack_alloc == NULL || *stack_alloc->ptr == STACK_CANARY_VALUE; } inline void assert_heap_ok(void) { |
