]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/radius/radiusclient.h
plugins/radius: Eliminate some potential buffer overruns
[ppp.git] / pppd / plugins / radius / radiusclient.h
index 17f64259d222364f5d12a39da4e65baddcc22451..665ad946977496577b3951feac2845650679f647 100644 (file)
@@ -31,7 +31,7 @@ typedef int          INT4;
 #define AUTH_VECTOR_LEN                16
 #define AUTH_PASS_LEN          (3 * 16) /* multiple of 16 */
 #define AUTH_ID_LEN            64
-#define AUTH_STRING_LEN                128      /* maximum of 253 */
+#define AUTH_STRING_LEN                253      /* maximum of 253 */
 
 #define        BUFFER_LEN              8192