mirror of
https://github.com/nasa/trick.git
synced 2025-01-31 16:35:31 +00:00
Input processor crashes if second event with same name is created
When allocating a new event, if the same name is used, no allocation is created and NULL is returned. We start trying to use the returned value which seg-faulted. I added a check to only continue if the returned value from the allocation is not NULL. refs #149
This commit is contained in:
parent
c3b886c6e5
commit
09c467e423
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ lib_Darwin_*
|
|||||||
*.dox
|
*.dox
|
||||||
Makefile_jsc_dirs
|
Makefile_jsc_dirs
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
trick_test
|
||||||
|
1
trick_sims/.gitignore
vendored
1
trick_sims/.gitignore
vendored
@ -17,6 +17,7 @@ S_default.dat
|
|||||||
S_document.xml
|
S_document.xml
|
||||||
S_library_list
|
S_library_list
|
||||||
S_main_*
|
S_main_*
|
||||||
|
T_main_*
|
||||||
S_sie.resource
|
S_sie.resource
|
||||||
S_source.cpp
|
S_source.cpp
|
||||||
S_source.hh
|
S_source.hh
|
||||||
|
4
trick_sims/SIM_trickcomm/.gitignore
vendored
Normal file
4
trick_sims/SIM_trickcomm/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
tc_client
|
||||||
|
tc_client.dSYM
|
||||||
|
tc_server
|
||||||
|
tc_server.dSYM
|
5
trick_source/data_products/DPX/test/unit_test/.gitignore
vendored
Normal file
5
trick_source/data_products/DPX/test/unit_test/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
DPC_test
|
||||||
|
DPM_test
|
||||||
|
DS_test
|
||||||
|
*.o
|
||||||
|
|
3
trick_source/sim_services/Clock/test/.gitignore
vendored
Normal file
3
trick_source/sim_services/Clock/test/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.o
|
||||||
|
BC635Clock_test
|
||||||
|
TPROCTEClock_test
|
2
trick_source/sim_services/Executive/test/.gitignore
vendored
Normal file
2
trick_source/sim_services/Executive/test/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.o
|
||||||
|
Executive_test
|
2
trick_source/sim_services/Integrator/test/.gitignore
vendored
Normal file
2
trick_source/sim_services/Integrator/test/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.o
|
||||||
|
Integrator_unittest
|
20
trick_source/sim_services/MemoryManager/test/.gitignore
vendored
Normal file
20
trick_source/sim_services/MemoryManager/test/.gitignore
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
*.o
|
||||||
|
.icg_no_found
|
||||||
|
Bitfield_tests
|
||||||
|
MM_alloc_deps
|
||||||
|
MM_clear_var_unittest
|
||||||
|
MM_creation_unittest
|
||||||
|
MM_declare_extern_var_unittest
|
||||||
|
MM_declare_var_2_unittest
|
||||||
|
MM_declare_var_unittest
|
||||||
|
MM_delete_var_unittest
|
||||||
|
MM_get_enumerated
|
||||||
|
MM_read_checkpoint
|
||||||
|
MM_ref_attributes_unittest
|
||||||
|
MM_ref_name_from_address
|
||||||
|
MM_resize_array_unittest
|
||||||
|
MM_sizeof_type_unittest
|
||||||
|
MM_strdup_unittest
|
||||||
|
MM_write_checkpoint
|
||||||
|
MM_write_checkpoint_hexfloat
|
||||||
|
MM_write_var_unittest
|
3
trick_source/sim_services/MonteCarlo/test/.gitignore
vendored
Normal file
3
trick_source/sim_services/MonteCarlo/test/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.o
|
||||||
|
MonteCarlo_exceptions
|
||||||
|
MonteCarlo_test
|
2
trick_source/sim_services/ScheduledJobQueue/test/.gitignore
vendored
Normal file
2
trick_source/sim_services/ScheduledJobQueue/test/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.o
|
||||||
|
ScheduledJobQueue_test
|
2
trick_source/sim_services/Timer/test/.gitignore
vendored
Normal file
2
trick_source/sim_services/Timer/test/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.o
|
||||||
|
ITimer_test
|
1
trick_source/trick_utils/comm/test/.gitignore
vendored
Normal file
1
trick_source/trick_utils/comm/test/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
comm_test
|
2
trick_source/trick_utils/interpolator/test/.gitignore
vendored
Normal file
2
trick_source/trick_utils/interpolator/test/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.o
|
||||||
|
Interpolator_unittest
|
3
trick_source/trick_utils/units/test/.gitignore
vendored
Normal file
3
trick_source/trick_utils/units/test/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.o
|
||||||
|
UnitConvTestSuite
|
||||||
|
UnitTestSuite
|
Loading…
x
Reference in New Issue
Block a user