Pad ADEPT_LICENSE before trying to decode it
This commit is contained in:
		| @@ -1118,6 +1118,9 @@ namespace gourou | ||||
| 		uPDFParser::String* licenseObject = (uPDFParser::String*)(*ebx)["ADEPT_LICENSE"]; | ||||
| 		 | ||||
| 		std::string value = licenseObject->value(); | ||||
| 		// Pad with '=' | ||||
| 		while ((value.size() % 4)) | ||||
| 		    value += "="; | ||||
| 		ByteArray zippedData = ByteArray::fromBase64(value); | ||||
|  | ||||
| 		if (zippedData.size() == 0) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user