From 28a375d5b724021d2ca391aa708e90b2dbc0dd3b Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周一, 16 5月 2016 01:48:22 +0800
Subject: [PATCH] Fix buffer overflow in example handling of channel list

---
 libscpi/inc/scpi/constants.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libscpi/inc/scpi/constants.h b/libscpi/inc/scpi/constants.h
index e2ad2d0..ecbfb55 100644
--- a/libscpi/inc/scpi/constants.h
+++ b/libscpi/inc/scpi/constants.h
@@ -51,7 +51,7 @@
 /* 21.8 :ERRor Subsystem
  * The maximum string length of <Error/event_description> plus <Device-dependent_info> is 255 characters.
  */
-#define SCPI_STD_ERROR_DESC_CHARS_LIMIT 255
+#define SCPI_STD_ERROR_DESC_MAX_STRING_LENGTH 255
 
 #ifdef	__cplusplus
 }

--
Gitblit v1.9.1