From 56eba164bd725d7f2b3a0f7df9d165e84cb7fe10 Mon Sep 17 00:00:00 2001
From: Jan Willamowius <jan@willamowius.de>
Date: 周一, 22 4月 2019 00:55:58 +0800
Subject: [PATCH] make sure there is room for nul byte

---
 src/library/os/os.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/library/os/os.h b/src/library/os/os.h
index 277d969..bd19f9d 100644
--- a/src/library/os/os.h
+++ b/src/library/os/os.h
@@ -31,7 +31,7 @@
 typedef struct {
 	int id;
 	char description[1024];
-	unsigned char mac_address[6];
+	unsigned char mac_address[8];
 	unsigned char ipv4_address[4];
 	IFACE_TYPE type;
 } OsAdapterInfo;
@@ -73,6 +73,8 @@
 VIRTUALIZATION getVirtualization();
 void os_initialize();
 
+FUNCTION_RETURN verifySignature(const char* stringToVerify, const char* signatureB64);
+
 #ifdef __cplusplus
 }
 #endif

--
Gitblit v1.9.1