Package: clearcut / 1.0.9-6

Metadata

Package Version Patches format
clearcut 1.0.9-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
mothur_trivial_patch | (download)

clearcut.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
hardening.patch | (download)

Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 propagate hardening options


clear errno before checking.patch | (download)

dmat.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 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.