You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/06/23 18:41:25 UTC
[jira] [Resolved] (PDFBOX-710) XMPSchema.java:392 and
XMPSchema.java:570 Possible null pointer dereference of bagElement
[ https://issues.apache.org/jira/browse/PDFBOX-710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-710.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.7
I've added the patch in revision http://svn.apache.org/r1604871 to the 1.8 branch. I won't add the changes to the trunk as it looks like JempBox is going to be discontinued.
Thanks for the contribution!
> XMPSchema.java:392 and XMPSchema.java:570 Possible null pointer dereference of bagElement
> -----------------------------------------------------------------------------------------
>
> Key: PDFBOX-710
> URL: https://issues.apache.org/jira/browse/PDFBOX-710
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.1.0
> Reporter: Peter_Lenahan@ibi.com
> Assignee: Andreas Lehmkühler
> Fix For: 1.8.7
>
> Attachments: XMPSchema-Findbugs-possible-null-pointer-reference.txt, XMPSchema.java
>
>
> Findbugs Scan of the code reports code paths which may result in a null pointer reference.
> C:/workspace/ibi_apps/src/org/apache/jempbox/xmp/XMPSchema.java:570 Possible null pointer dereference of bagElement
> C:/workspace/ibi_apps/src/org/apache/jempbox/xmp/XMPSchema.java:392 Possible null pointer dereference of bagElement
> The solution is to test for null before attempting to use the objects.
> A patch file is included
> Peter
--
This message was sent by Atlassian JIRA
(v6.2#6252)