mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Fix use-after-move of proc_status_file breaking -U flag
This commit is contained in:
parent
88654fa989
commit
ef6bd3ee39
5 changed files with 12 additions and 2 deletions
|
@ -457,7 +457,7 @@ zeek::detail::SetupResult zeek::detail::setup(int argc, char** argv,
|
|||
}
|
||||
|
||||
if ( options.process_status_file )
|
||||
proc_status_file = options.process_status_file->data();
|
||||
proc_status_file = copy_string(options.process_status_file->data());
|
||||
|
||||
atexit(atexit_handler);
|
||||
set_processing_status("INITIALIZING", "main");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue