Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4979 closed enhancement (fixed)

gnutls-3.3.1

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.1.tar.xz

http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/7443

* Version 3.3.1 (released 2014-04-19)

** libgnutls: Enforce more strict checks to heartbeat messages
concerning padding and payload. Suggested by Peter Dettman.

** libgnutls: Allow decoding PKCS #8 files with ECC parameters
from openssl.

** libgnutls: Several small bug fixes found by coverity.

** libgnutls: The conditionally available self-test functions
were moved to self-test.h.

** libgnutls: Fixed issue with the check of incoming data when two
different recv and send pointers have been specified. Reported and
investigated by JMRecio.

** libgnutls: Fixed issue in the RSA-PSK key exchange, which would 
result to illegal memory access if a server hint was provided. Reported
by André Klitzing.

** libgnutls: Fixed client memory leak in the PSK key exchange, if a
server hint was provided.

** libgnutls: Corrected the *get_*_othername_oid() functions.

** API and ABI modifications:
No changes since last version.

Attachments (1)

gnutls-3.3.1-gnutls_secure_malloc-1.patch (3.6 KB ) - added by Fernando de Oliveira 10 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 10 years ago

There is a regression, causing the error:

make  all-am
make[4]: Entering directory '/tmp//gnutls-3.3.1/guile/src'
  CC       guile_gnutls_v_2_la-core.lo
core.c: In function 'scm_init_gnutls':
core.c:3369:3: error: 'gnutls_secure_malloc' undeclared 
(first use in this function)
   gnutls_secure_malloc = scm_malloc;
   ^
core.c:3369:3: note: each undeclared identifier is reported only once for each 
function it appears in
Makefile:1447: recipe for target 'guile_gnutls_v_2_la-core.lo' failed
make[4]: *** [guile_gnutls_v_2_la-core.lo] Error 1
make[4]: Leaving directory '/tmp//gnutls-3.3.1/guile/src'
Makefile:1339: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/tmp//gnutls-3.3.1/guile/src'
Makefile:1300: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp//gnutls-3.3.1/guile'
Makefile:1372: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp//gnutls-3.3.1'
Makefile:1299: recipe for target 'all' failed
make: *** [all] Error 2

I have built a patch that fixes that. Not sure how unsecured it becomes.

But there is a problem. The docs are all rebuilt (man and info), with two consequences: I am not sure what the dependencies are used to do that, and the build time increases to about 2.6 SBU.

There is a switch that I could add: --disable-doc. However, I believe most people would like to have at least the man pages.

I will attach the patch and wait until tomorrow for any possible help, which I would much appreciate.

Alternatives:

I am doing something wrong and it fails only in my system. But version in the book does not fail.

We skip this update and wait either for a patch or a new version.

by Fernando de Oliveira, 10 years ago

comment:3 by Fernando de Oliveira, 10 years ago

Final part was not good. Rewriting: Alternatives:

  1. Update the book using the patch and disabling (?) man and info.
  1. I am doing something wrong and it fails only in my system. But version in the book does not fail.
  1. We skip this update and wait either for a patch or a new version.

comment:4 by Fernando de Oliveira, 10 years ago

Alternative 4. there is a switch that just avoids reaching that point of the error: --disable-guile.

I am tired now, but tomorrow morning, will update using this switch.

comment:5 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r12985.

comment:6 by Fernando de Oliveira, 10 years ago

Problems with guile and tests are solved upstream. I will include a patch to fix both problems after I test with LFS-7.5 (did only with LFS-7.1).

comment:7 by Fernando de Oliveira, 10 years ago

Build with guile is back and the test suite is working, with added patch, both in r12986.

Note: See TracTickets for help on using tickets.