From 8ad56e8eda4a63e9a81c275e4eb26e9239237ad4 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 28 11月 2020 09:31:41 +0800
Subject: [PATCH] replace strncpy with a more safe alternative

---
 include/licensecc/licensecc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/licensecc/licensecc.h b/include/licensecc/licensecc.h
index deea67e..ae1d833 100644
--- a/include/licensecc/licensecc.h
+++ b/include/licensecc/licensecc.h
@@ -36,7 +36,7 @@
  * @param hw_id_method[in] specifies a preferred identification method. Usually #STRATEGY_DEFAULT works well. See the
  * wiki for more informations.
  * @param identifier_out[out] buffer where the identification string will be placed.
- * @param identifier_out[in-out] size of the buffer where the identification string will be placed.
+ * @param buf_size[in-out] size of the buffer where the identification string will be placed.
  * @param execution_environment_info[out] if not null will contain the informations about the execution environment.
  */
 bool identify_pc(LCC_API_HW_IDENTIFICATION_STRATEGY hw_id_method, char* identifier_out, size_t* buf_size,

--
Gitblit v1.9.1