Debian Patches

Status for liquid-dsp/1.6.0-3

Patch Description Author Forwarded Bugs Origin Last update
fix-soname Fix SONAME not set in shared library A SONAME was introduced to libliquid and used in installation file names
however the shared library was always compiled with 'libliquid.so' as
the SONAME rather than 'libliquid.so.1' as was probably intended.
.
Fix that and introduce a SOVERSION variable to the makefile so that it
is defined in a single place only.
Andreas Bombe <aeb@debian.org> yes 2023-09-10
fix-bessel-array-out-of-bounds Fix out-of-bounds array write in src/filter/src/bessel.c The bessel_azpkf() function receives a pointer to a poles array with
length of the filter order _n. It then proceeds to call
fpoly_bessel_roots() with the same array pointer, but with _n+1. The
roots function assumes there are _n+1 elements in the array and write
one element past the original array.
.
Use a temporary array for the roots function and copy the data out
afterwards.
Andreas Bombe <aeb@debian.org> yes 2023-09-10
fix-chromosome-32bit Fix chromosomes for sizeof (unsigned long) == 32 In the chromosome struct, the maximum value of a trait is stored in an
unsigned long (which is 32 bits on a typical 32 bit architecture) and up to 32
bits per trait are allowed. When the full 32 bits per trait were used, the
value stored in max_value is 1 << 32 which is truncated to zero on 32 bit
architectures. This causes the limit check in chromosome_init() to always
fail.
.
While it would be sufficient to change the comparison from v >= max_value to
v > (max_value - 1), change the setting of max_value to "(1<<bits)-1". This
has the advantage of being the actual maximum value and therefore more
appropriate for the name.
Andreas Bombe <aeb@debian.org> no 2023-10-18

All known versions for source package 'liquid-dsp'

Links