mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-30 13:09:48 +01:00
hardened logging and buffer safety (#708)
This commit is contained in:
1 parent
84897c3563
commit
80c0536dfa
5 files changed
+16
-7
No files matched your search
+1
-1
@@ -86,7 +86,7 @@ bool tui_started = false;
|
||||
|
||||
#ifdef USE_LIBUSB
|
||||
void log_cb(libusb_context *ctx, enum libusb_log_level level, const char *str) {
|
||||
LOG(level + 0, str);
|
||||
LOG(level + 0, "%s", str);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user