Comparing version 1.1.1 to 1.1.2
@@ -157,5 +157,7 @@ | ||
this._ensure(buf.length); | ||
buf.copy(this._buf, this._offset, 0, buf.length); | ||
this._offset += buf.length; | ||
if ( buf.length > 0 ) { | ||
this._ensure(buf.length); | ||
buf.copy(this._buf, this._offset, 0, buf.length); | ||
this._offset += buf.length; | ||
} | ||
}; | ||
@@ -162,0 +164,0 @@ |
{ | ||
"name": "asn1-ber", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Generate and parse ASN1.BER objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -559,2 +559,6 @@ | ||
## Version 1.1.2 - 08/12/2021 | ||
* Fix zero-length octet string buffer writing | ||
# License | ||
@@ -561,0 +565,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48053
891
590