Menu

#6 NullPointerException if copyright files fieldnames are not correct

1.0.3
closed
None
2018-06-21
2018-06-21
Gerrit Hohl
No

The copyright file of the Debian package
hdparm_9.48+ds-1ubuntu0.1_amd64.deb
of Ubuntu 16.04.4 LTS contains a typo:
FIles: wiper/contrib/raid1ext4trim.sh-1.5
but should be:
Files: wiper/contrib/raid1ext4trim.sh-1.5
This will result in a NullPointerException in the CopyrightParserImpl.

First there should be no NullPointerException in this case. Second the parser should be use a less strict mode for parsing field names (case-insensitive instead of case-sensitive).

Discussion

  • Gerrit Hohl

    Gerrit Hohl - 2018-06-21
    • status: accepted --> closed
     
  • Gerrit Hohl

    Gerrit Hohl - 2018-06-21

    Fixed in revision 18 / version 1.0.3.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.