Fedora Account System
Red Hat Associate
Red Hat Customer
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
*** This bug has been marked as a duplicate of bug 2340927 ***