[ https://issues.apache.org/jira/browse/NIFI-5355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16537550#comment-16537550 ]
ASF GitHub Bot commented on NIFI-5355: -------------------------------------- Github user joewitt commented on the issue: https://github.com/apache/nifi/pull/2854 @patricker I'm not finding good guidance in apache legal JIRA or the apache list archives yet here. However, lets be clear what we're evaluating. Initially this is code from Stackoverflow which we believe based on SO guidance is 'CC SA 3.0 w/Attribution' which is allowed in Apache projects according to https://www.apache.org/legal/resolved.html#cc-sa though that does't clarify if it is consider Cat A or Cat B ( a being permitted for source OR binary where B is permitted only for binary). So we'd have to clarify. But, upon further review you found in the wayback/archives the original source is considered to be AL v2.0 code based on a default legal disclaimer for that now defunct website also in wayback/archives. I'm not saying I disagree with your conclusion. But, one of our most critical jobs in the community is to produce legal/valid releases of source code. This is at the very least murky. We should file a LEGAL discuss thread or JIRA for resolution on this one so we can be sure we're doing the right thing. It isn't clear to me how we'd handle it and track this going forward or which license we'd claim it under/etc.. Best case is to write this code originally... Next best is to generate a legal thread to get legal ASF approval/decision on this with guidance how to handle it. > ResizeImage Fails to read PNG type on some OS's > ----------------------------------------------- > > Key: NIFI-5355 > URL: https://issues.apache.org/jira/browse/NIFI-5355 > Project: Apache NiFi > Issue Type: Bug > Reporter: Peter Wicks > Assignee: Peter Wicks > Priority: Minor > > On some operating systems ResizeImage will fail to properly read the PNG file > type when calling getType. It will return '0' instead of '5'. > > [https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-media-bundle/nifi-media-processors/src/main/java/org/apache/nifi/processors/image/ResizeImage.java#L177] -- This message was sent by Atlassian JIRA (v7.6.3#76005)