lib3mf 2.5 :

- aggiornamento versione
- utilizzate le nostre librerie esterne libzip e zlib e non quelle incluse in lib3mf.
This commit is contained in:
SaraP
2026-08-25 12:44:11 +02:00
parent ea6efc1e36
commit 513f08e691
544 changed files with 52634 additions and 30760 deletions
+3 -1
View File
@@ -213,7 +213,9 @@ void Lib3MF::Impl::CWriter::AddKeyWrappingCallback(const std::string & sConsumer
if (result == 0)
throw ELib3MFInterfaceException(LIB3MF_ERROR_CALCULATIONABORTED);
cipher.resize(needed, 0);
if (needed > LIB3MF_WRITER_MAXKEYSIZE)
throw ELib3MFInterfaceException(LIB3MF_ERROR_INVALIDKEYSIZE);
cipher.resize((size_t)needed, 0);
result = 0;
(*pTheCallback)(entityHandle, plain.size(), plain.data(), plain.size(),