Package: clearcut / 1.0.9+git20211013.b799afe-1
Metadata
Package | Version | Patches format |
---|---|---|
clearcut | 1.0.9+git20211013.b799afe-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
mothur_trivial_patch | (download) |
clearcut.c |
2 1 + 1 - 0 ! |
--- |
hardening.patch | (download) |
Makefile |
4 2 + 2 - 0 ! |
propagate hardening options |
clear errno before checking.patch | (download) |
dmat.c |
1 1 + 0 - 0 ! |
clear errno before using it to check failure from atof() The atof() function is not guaranteed to clear errno on success, so if any earlier errors have been set prior to calling atof(), these will result in a spurious failure. On armhf, glibc 2.31 now opportunistically calls a new syscall that may not be supported on older kernels (Linux 4.15), resulting in errno == ENOSYS: . syscall_0x193(0x5, 0xffb2b650, 0xf77b7000, 0, 0x5, 0xffb2b650) = -1 ENOSYS (Function not implemented) . Therefore we should clear errno before calling atof() to make sure any errors actually originate from this function. |
1