Package: ucl / 1.03+repack-6

Metadata

Package Version Patches format
ucl 1.03+repack-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 Examples.patch | (download)

examples/portab.h | 2 1 + 1 - 0 !
examples/simple.c | 2 1 + 1 - 0 !
examples/uclpack.c | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 01 examples.

Fix examples.

02 Autoreconf.patch | (download)

Makefile.am | 2 2 + 0 - 0 !
configure.ac | 4 3 + 1 - 0 !
examples/Makefile.am | 2 1 + 1 - 0 !
m4/acc1.m4 | 97 97 + 0 - 0 !
m4/acc2.m4 | 42 42 + 0 - 0 !
m4/acc3.m4 | 143 143 + 0 - 0 !
src/Makefile.am | 5 2 + 3 - 0 !
7 files changed, 290 insertions(+), 5 deletions(-)

 02 autoreconf

Fix autoconf files to make it possible to call autoreconf, see bug #744671.
The acc[123].m4 files were extracted from the original aclocal.m4 file.

03 Reproducible build.patch | (download)

src/ucl_util.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 03 reproducible build

Introduced BUILD_DATETIME pre-processor variable to
be used instead of __DATE__ __TIME__ to make build
reproducible.

04 Static assert.patch | (download)

acc/acc_defs.h | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 switch to _static_assert

Use _Static_assert for compile-time assertion to fix
build failures with gcc-6 (closes: #811707)

05 Fix double free.patch | (download)

src/n2b_d.c | 2 1 + 1 - 0 !
src/n2e_d.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix double free (memory clobbered) bug visible in upx

Patch from https://github.com/upx/upx/issues/207
to fix a crash in upx occurring on malformed input.

The "m_len + 1" in

        fail(olen + (m_len + 1) > oend, UCL_E_OUTPUT_OVERRUN);

should match the "m_len + 1" in

         olen += m_len + 1;

because it is the number of increments of olen in the copy step:

            dst[olen++] = *m_pos++;
            do dst[olen++] = *m_pos++; while (--m_len > 0);

Bugs-Debian: https://bugs.debian.org/907426

06 Fix memory errors.patch | (download)

src/ucl_swd.ch | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix memory errors shown by valgrind

Initialize memory in two places in ucl_swd.ch
to get rid of memory errors detected by valgrind
in a test program included in the bug report.

Bugs-Debian: https://bugs.debian.org/804474

07 Fix FTBFS on x32.patch | (download)

acc/acc_arch.h | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 fix x32 compilation

Check for __IPL32__ together with __x86_64__ as documented in
https://wiki.debian.org/X32Port to fix compilation on x32
architecture.

08 Asm build flags.patch | (download)

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

 pass c*flags while compiling assembly

Make build log checker happy by passing CPPFLAGS and CFLAGS
to gcc calls that compile assembly code.