diff options
| author | Juan Biondi <juanernestobiondi@gmail.com> | 2019-01-10 17:21:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-10 17:21:30 +0100 |
| commit | a6e0ea3e23d196e8e5f104f2392a01d4891d600e (patch) | |
| tree | 8e6660c17654b886eab0db1f09e1f38df2dc8ba2 /supervisor/shared/stack.c | |
| parent | 749b2b0aacffb0dc3445699ef5251cee723160ff (diff) | |
| parent | dabb8ffdaa46ae84d0cdbd00511da9300a4dc8df (diff) | |
Merge pull request #3 from adafruit/master
Add latest changes on repo
Diffstat (limited to 'supervisor/shared/stack.c')
| -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) { |
