mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 18:56:31 +00:00
stack smash detected in add_recording_vars_for_frame
Changing size of char[256] to char[512] temporarily. Will come back to change all sprintf calls to use stringstreams. refs #211
This commit is contained in:
parent
617efa3a52
commit
b1a69f2490
@ -93,7 +93,7 @@ void Trick::FrameLog::add_recording_vars_for_jobs() {
|
||||
|
||||
unsigned int ii , dot ;
|
||||
REF2 * new_ref ;
|
||||
char job_name[256];
|
||||
char job_name[512];
|
||||
std::vector<Trick::JobData *> all_jobs_vector ;
|
||||
|
||||
exec_get_all_jobs_vector(all_jobs_vector) ;
|
||||
@ -195,7 +195,7 @@ void Trick::FrameLog::add_recording_vars_for_jobs() {
|
||||
void Trick::FrameLog::add_recording_vars_for_frame() {
|
||||
|
||||
REF2 * new_ref ;
|
||||
char job_name[256];
|
||||
char job_name[512];
|
||||
int ii ;
|
||||
|
||||
drg_frame->add_variable(rt_sim_object_name + std::string(".rt_sync.frame_sched_time")) ;
|
||||
|
Loading…
Reference in New Issue
Block a user