diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-10 12:42:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-12 10:09:04 +0200 |
commit | 9399e12c217343545bf412a01629570377536b39 (patch) | |
tree | e8a7f068a355bd18d15e745eec7b3c1611ae2f57 /cpukit/include/rtems/monitor.h | |
parent | bsps/arm: More robust SMP start (diff) | |
download | rtems-9399e12c217343545bf412a01629570377536b39.tar.bz2 |
rtems: Fix rtems_partition_return_buffer()
The rtems_partition_return_buffer() wrongly accepted which were exactly
at the buffer area end. Use the buffer area limit address for the range
checking.
Close #4490.
Diffstat (limited to 'cpukit/include/rtems/monitor.h')
-rw-r--r-- | cpukit/include/rtems/monitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/monitor.h b/cpukit/include/rtems/monitor.h index d0a79c03be..9367e2b6e8 100644 --- a/cpukit/include/rtems/monitor.h +++ b/cpukit/include/rtems/monitor.h @@ -192,7 +192,7 @@ typedef struct { rtems_name name; /* end of common portion */ rtems_attribute attribute; - void * start_addr; + const void * start_addr; uint32_t length; uint32_t buf_size; uint32_t used_blocks; |