aboutcode-org / aboutcode-org/scancode-toolkit

False positive detection on public-domain_198.RULE and public-domain_317.RULE

Offen
#3,367 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @AyanSinhaMahapatra Auf GitHub ansehen
bug license-review
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

A recent scan of several .java files in reactive-streams-1.0.2-sources.jar resulted in false positive detection of public-domain using rules public-domain_198.RULE and public-domain_317.RULE when the files are clearly licensed under cc0-1.0 (also detected, correctly) as evidenced by this notice text in the code:

```
/************************************************************************
* Licensed under Public Domain (CC0) *
* *
* To the extent possible under law, the person who associated CC0 with *
* this code has waived all copyright and related or neighboring *
* rights to this code. *
* *
* You should have received a copy of the CC0 legalcode along with this *
* work. If not, see .*
************************************************************************/
```

The detection should be of cc0-1.0 only and the detection of a generic public-domain is incorrect and misleading.

It should be noted, by the way, that later versions of this code, as of 1.0.4, changed the license altogether:
```
/***************************************************
* Licensed under MIT No Attribution (SPDX: MIT-0) *
***************************************************/
```

However, the license detection problem persists in older versions such as 1.0.2 and 1.0.3.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.