mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
fix segfault by initializing nwipe_gui_thread
This commit is contained in:
1
README
1
README
@@ -20,6 +20,7 @@ RELEASE NOTES
|
|||||||
|
|
||||||
v0.25
|
v0.25
|
||||||
- Correct J=Up K=Down in footer(Thanks PartialVolume)
|
- Correct J=Up K=Down in footer(Thanks PartialVolume)
|
||||||
|
- Fix segfault initialize nwipe_gui_thread (Thanks PartialVolume)
|
||||||
|
|
||||||
v0.24
|
v0.24
|
||||||
- use include values for version 0.17
|
- use include values for version 0.17
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ int main( int argc, char** argv )
|
|||||||
int nwipe_enumerated; /* The number of contexts that have been enumerated. */
|
int nwipe_enumerated; /* The number of contexts that have been enumerated. */
|
||||||
int nwipe_error = 0; /* An error counter. */
|
int nwipe_error = 0; /* An error counter. */
|
||||||
int nwipe_selected = 0; /* The number of contexts that have been selected. */
|
int nwipe_selected = 0; /* The number of contexts that have been selected. */
|
||||||
pthread_t nwipe_gui_thread; /* The thread ID of the GUI thread. */
|
pthread_t nwipe_gui_thread = 0; /* The thread ID of the GUI thread. */
|
||||||
pthread_t nwipe_sigint_thread; /* The thread ID of the sigint handler. */
|
pthread_t nwipe_sigint_thread; /* The thread ID of the sigint handler. */
|
||||||
|
|
||||||
/* The entropy source file handle. */
|
/* The entropy source file handle. */
|
||||||
|
|||||||
Reference in New Issue
Block a user