Bug 2389344
| Summary: | Build errors: overflows, memory management errors | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nikola Davidova <ndavidov> |
| Component: | newlisp | Assignee: | Filipe Rosset <rosset.filipe> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ndowens04, rosset.filipe |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-03-04 17:33:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 2340927 *** |
Fails since f42. The error: and 12 bytes into a destination of size 4 2095 | snprintf(hostaddr + len, 4, "%d", ipNo); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nl-math.c: In function ‘p_bayesTrain’: nl-math.c:2657:12: warning: argument to ‘alloca’ is too large [-Walloca-larger-than=] 2657 | category = alloca(maxIdx * sizeof(CELL *)); | ^~~~~~ nl-math.c:2657:12: note: limit is 9223372036854775807 bytes, but argument is 18446744073709551608 nl-math.c:2658:9: warning: argument to ‘alloca’ is too large [-Walloca-larger-than=] 2658 | total = alloca(maxIdx * sizeof(int)); | ^~~~~~ nl-math.c:2658:9: note: limit is 9223372036854775807 bytes, but argument is 18446744073709551612 nl-math.c:2685:9: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 2685 | strncpy(token, ((SYMBOL *)list->contents)->name, MAX_SYMBOL + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nl-math.c: In function ‘p_bayesQuery’: nl-math.c:2918:9: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 2918 | strncpy(token, ((SYMBOL *)tkn->contents)->name, MAX_SYMBOL + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newlisp.c: In function ‘loadStartup’: newlisp.c:560:25: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 560 | printf("%s: %s\n", strerror(ENOENT), name); | ^~ RPM build errors: Reproducible: Always