From 4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 28 Jul 2016 13:10:19 -0700 Subject: issue #466, sql typo --- library/asn1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library') diff --git a/library/asn1.php b/library/asn1.php index e84398bf6..6ab8c6210 100644 --- a/library/asn1.php +++ b/library/asn1.php @@ -159,7 +159,7 @@ class ASN_BASE { } $length = $tempLength; } - $data = substr($string, $p, $length); + $data = substr($string, $p, intval($length)); $parsed[] = self::parseASNData($type, $data, $level, $maxLevels); $p = $p + $length; } -- cgit v1.2.3