<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From libreoffice.

--- a/src/lib/libetonyek_xml.cpp
+++ b/src/lib/libetonyek_xml.cpp
@@ -35,7 +35,7 @@
     unsigned long bytesRead = 0;
     const unsigned char *const bytes = input-&gt;read((unsigned long)len, bytesRead);
 
-    std::memcpy(buffer, bytes, static_cast&lt;size_t&gt;(bytesRead));
+    if (bytesRead != 0) std::memcpy(buffer, bytes, static_cast&lt;size_t&gt;(bytesRead));
     return static_cast&lt;int&gt;(bytesRead);
   }
   catch (...)
</pre></body></html>