diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-11-28 21:47:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-11-28 21:47:39 +0000 |
commit | 66fedb46febb86d7e120b18e3bb4f93e99aee594 (patch) | |
tree | f37d583b5caf007ff95648c3146c9a1b775c4660 /cpukit/score/ChangeLog | |
parent | 2000-11-27 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-66fedb46febb86d7e120b18e3bb4f93e99aee594.tar.bz2 |
2000-11-28 Chris Johns <ccj@acm.org>
* src/heapallocate.c: Do not allow the size to overflow when
adjusting it. A test allocated a stack of -1 (~0). This
actually resulted in a stack being allocated but with a
size of 0xb. The allocator did not test the size to see if
it rolled through 0 and so allowed the allocation to happen, the
thread to get created. The task crashed as you would expect.
Diffstat (limited to 'cpukit/score/ChangeLog')
-rw-r--r-- | cpukit/score/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index 654a67faef..70487f1a84 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,12 @@ + +2000-11-28 Chris Johns <ccj@acm.org> + + * src/heapallocate.c: Do not allow the size to overflow when + adjusting it. A test allocated a stack of -1 (~0). This + actually resulted in a stack being allocated but with a + size of 0xb. The allocator did not test the size to see if + it rolled through 0 and so allowed the allocation to happen, the + thread to get created. The task crashed as you would expect. 2000-11-02 Joel Sherrill <joel@OARcorp.com> |