mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-23 21:21:05 +03:00
fix: windows, dll, pre-loading attack (#10608)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -31,7 +31,10 @@ macro_rules! my_println{
|
||||
pub fn core_main() -> Option<Vec<String>> {
|
||||
crate::load_custom_client();
|
||||
#[cfg(windows)]
|
||||
crate::platform::windows::bootstrap();
|
||||
if !crate::platform::windows::bootstrap() {
|
||||
// return None to terminate the process
|
||||
return None;
|
||||
}
|
||||
let mut args = Vec::new();
|
||||
let mut flutter_args = Vec::new();
|
||||
let mut i = 0;
|
||||
|
||||
Reference in New Issue
Block a user