mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-17 13:46:27 -05:00
fix: avoid reformatting VPN progress messages
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -5,6 +5,7 @@
|
||||
### Fixed
|
||||
|
||||
- Fixed duplicate tray icons caused by both Tauri configuration and application code creating a tray icon (fix [#464](https://github.com/yuezk/GlobalProtect-openconnect/issues/464)).
|
||||
- Fixed a potential crash when VPN progress messages contain printf-style format specifiers.
|
||||
|
||||
## 2.6.4
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ static void print_progress(__attribute__((unused)) void *_vpninfo, int level,
|
||||
if (message == NULL) {
|
||||
ERROR("Failed to format log message");
|
||||
} else {
|
||||
LOG(level, message);
|
||||
vpn_log(level, message);
|
||||
free(message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user