kopia lustrzana https://github.com/Hamlib/Hamlib
Fix segfault on rigctl exit
If rigctl does a recovery close/open cycle, a freed buffer gets reused. This can cause segfault or worse.pull/1347/head
rodzic
342e082fbb
commit
192b5fe7a5
|
@ -8112,6 +8112,7 @@ void *morse_data_handler(void *arg)
|
|||
}
|
||||
|
||||
free(rig->state.fifo_morse);
|
||||
rig->state.fifo_morse = NULL;
|
||||
pthread_exit(NULL);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue