Last change
on this file since b539af8 was
b539af8,
checked in by Kinsey Moore <kinsey.moore@…>, on 01/26/22 at 22:00:04
|
cpukit: Prevent error with disabled stack checker
When the stack checker is not enabled, the stack checker reporting
function can still be called. This prevents that call from performing a
null memory access in trying to find the high water mark if the stack
checker was never initialized.
This also introduces a test to ensure this call does not cause a crash.
Closes #4588
|
-
Property mode set to
100644
|
File size:
400 bytes
|
Line | |
---|
1 | SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause |
---|
2 | build-type: test-program |
---|
3 | cflags: [] |
---|
4 | copyrights: |
---|
5 | - Copyright (C) 2022 On-Line Applications Research (OAR) |
---|
6 | cppflags: [] |
---|
7 | cxxflags: [] |
---|
8 | enabled-by: true |
---|
9 | features: c cprogram |
---|
10 | includes: [] |
---|
11 | ldflags: [] |
---|
12 | links: [] |
---|
13 | source: |
---|
14 | - testsuites/libtests/stackchk02/init.c |
---|
15 | stlib: [] |
---|
16 | target: testsuites/libtests/stackchk02.exe |
---|
17 | type: build |
---|
18 | use-after: [] |
---|
19 | use-before: [] |
---|
Note: See
TracBrowser
for help on using the repository browser.