Hello, Llvm compiler brings a lot of useful info about potential problems. Here again a message I caught from clang : /home/julien/compile-libreoffice/libo/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx:152:26: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'pEncryptedData') xmlNodePtr pParent = pEncryptedData->parent; ^~~~~~~~~~~~~~ 1 warning generated.
By taking a look at the file, we can see that pEncryptedData is never initialized in encrypt function (at the contrary of decrypt function). Then I took a look at git history and it seems IMHO there has been merge confusion. Julien -- View this message in context: http://nabble.documentfoundation.org/dereference-of-a-null-pointer-in-xmlsecurity-source-xmlsec-nss-xmlencryption-nssimpl-cxx-tp3754923p3754923.html Sent from the Dev mailing list archive at Nabble.com. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice