Skip to content

Commit d6412df

Browse files
authored
Merge pull request #1471 from nasa/integration-candidate
osal Integration candidate: Equuleus-rc1+dev14
2 parents 269a522 + 765c8d9 commit d6412df

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## Development Build: equuleus-rc1:dev81
4+
- Fix Address Sanitizer issue in vxworks-console-testrunner
5+
- f-sanitizer issue in coverage-shared-idma
6+
- See <https://github.com/nasa/osal/pull/1467> and <https://github.com/nasa/osal/pull/1470>
7+
38
## Development Build: equuleus-rc1+dev73
49
- High-res timed stream ops
510
- Moves OS_strnlen to public API and adds static analysis comments

src/os/inc/osapi-version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/*
3535
* Development Build Macro Definitions
3636
*/
37-
#define OS_BUILD_NUMBER 73
37+
#define OS_BUILD_NUMBER 81
3838
#define OS_BUILD_BASELINE "equuleus-rc1"
3939
#define OS_BUILD_DEV_CYCLE "equuleus-rc2" /**< @brief Development: Release name for current development cycle */
4040
#define OS_BUILD_CODENAME "Equuleus" /**< @brief: Development: Code name for the current build */

src/os/shared/src/osapi-idmap.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,6 @@ int32 OS_ObjectIdFindNextFree(OS_object_token_t *token)
597597

598598
base_id = OS_GetBaseForObjectType(token->obj_type);
599599
max_id = OS_GetMaxForObjectType(token->obj_type);
600-
objtype_state = &OS_objtype_state[token->obj_type];
601600

602601
if (max_id == 0)
603602
{
@@ -610,8 +609,9 @@ int32 OS_ObjectIdFindNextFree(OS_object_token_t *token)
610609
}
611610
else
612611
{
613-
return_code = OS_ERR_NO_FREE_IDS;
614-
serial = OS_ObjectIdToSerialNumber_Impl(objtype_state->last_id_issued);
612+
return_code = OS_ERR_NO_FREE_IDS;
613+
objtype_state = &OS_objtype_state[token->obj_type];
614+
serial = OS_ObjectIdToSerialNumber_Impl(objtype_state->last_id_issued);
615615
}
616616

617617
for (i = 0; i < max_id; ++i)

src/os/vxworks/src/os-impl-console.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ int32 OS_ConsoleCreate_Impl(const OS_object_token_t *token)
121121
int32 return_code;
122122
OS_console_internal_record_t * console;
123123

124-
local = OS_OBJECT_TABLE_GET(OS_impl_console_table, *token);
125-
console = OS_OBJECT_TABLE_GET(OS_console_table, *token);
126-
127124
if (OS_ObjectIndexFromToken(token) == 0)
128125
{
129126
return_code = OS_SUCCESS;
130127

128+
local = OS_OBJECT_TABLE_GET(OS_impl_console_table, *token);
129+
console = OS_OBJECT_TABLE_GET(OS_console_table, *token);
130+
131131
if (console->IsAsync)
132132
{
133133
OS_DEBUG("%s(): Starting Async Console Handler\n", __func__);

0 commit comments

Comments
 (0)