Page MenuHome GnuPG
Feed Advanced Search

May 24 2019

werner added a parent task for T4538: Support PSS signed CRLs: T4523: Gpg4win: Multiple problems reported 05-2019.
May 24 2019, 9:08 AM · dirmngr, S/MIME, libksba
werner created T4538: Support PSS signed CRLs.
May 24 2019, 8:58 AM · dirmngr, S/MIME, libksba

May 8 2019

aheinecke added a comment to T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing.

Thanks for the explanation.

May 8 2019, 3:14 PM · libksba, Feature Request
dkg reopened T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing as "Open".

If the ASN.1 is not from an RFC, then the AUTHORS file should not claim that it is from an RFC.

May 8 2019, 1:42 PM · libksba, Feature Request

May 7 2019

aheinecke closed T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing as Wontfix.

As I want to keep this tracker clean I would say this is a Wontfix at least until someone (DKG?) provides an argument what would be gained and why we should do this.

May 7 2019, 9:30 AM · libksba, Feature Request
werner triaged T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing as Wishlist priority.

That is not a functional feature request and I see no value in chnaging data structures just for being up to the latest RFC. Actually the ASN.1 is not from an RFC but from a specific X.509 profile. For CMS most parsing is anyway done with handcrafted code.

May 7 2019, 8:54 AM · libksba, Feature Request

May 6 2019

dkg created T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing.
May 6 2019, 11:53 PM · libksba, Feature Request

Feb 27 2019

gniibe claimed T4104: gpgsm/ksba removes leading zeros from signature byte array.

We also need to fix for encryption and signature in CSR.

Feb 27 2019, 3:17 AM · Restricted Project, libksba, S/MIME, Bug Report

Feb 19 2019

gniibe closed T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config as Resolved.
Feb 19 2019, 2:48 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Jan 17 2019

gniibe abandoned D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH.

Applied.

Jan 17 2019, 1:00 AM · gpgme, libksba, libgcrypt, ntbtls, libassuan, gpgrt

Jan 16 2019

gniibe removed a project from T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well): gpgme.

Done for gpgme.

Jan 16 2019, 3:03 AM

Jan 15 2019

gniibe removed a project from T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well): libgcrypt.

Done for libgcrypt.

Jan 15 2019, 8:53 AM

Jan 14 2019

aheinecke triaged T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) as Normal priority.

I give this normal priority to move it out of the "Needs Triage" queue.

Jan 14 2019, 10:31 AM

Jan 10 2019

gniibe renamed T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) from Use uninstalled library, which is building now (even if rpath doesn't work well) to 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Jan 10 2019, 2:33 AM
gniibe removed a project from T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well): gpgrt.

Done for libgpg-error.

Jan 10 2019, 2:32 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

Topic branch of libgpg-error is not good to show changes (for other libraries).
So, I made D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH.
Appliying to libgpg-error.

Jan 10 2019, 2:31 AM
gniibe added a project to D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH: gpgme.
Jan 10 2019, 2:28 AM · gpgme, libksba, libgcrypt, ntbtls, libassuan, gpgrt
gniibe created D473: Introducing LDADD_FOR_TESTS_KLUDGE to enable 'make check' with LD_LIBRARY_PATH.
Jan 10 2019, 2:28 AM · gpgme, libksba, libgcrypt, ntbtls, libassuan, gpgrt

Jan 8 2019

gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

For other distros, it seems it's quite old issue: https://sourceware.org/ml/binutils/2012-05/msg00037.html

Jan 8 2019, 2:50 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

My patches on the topic branch: https://dev.gnupg.org/source/libgpg-error/history/gniibe%252Fdisable-new-dtags/

Jan 8 2019, 2:49 AM

Jan 7 2019

gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

My tentative conclusion: When (GNU) ld supports --disable-new-dtags, add it to LDADD in tests/Makefile.am.

Jan 7 2019, 8:08 AM

Dec 20 2018

gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

Reading this discussion: http://lists.gnu.org/archive/html/bug-libtool/2018-01/msg00014.html
It seems that it could be fixed if we care about the order of libraries.
And it's not the issue for libgpg-error, which doesn't require external libraries.

Dec 20 2018, 4:01 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:42 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:40 AM
gniibe added a comment to T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).

For binutils, in Stretch, Debian specific patch was introduced.
Then, upstream introduced --enable-new-dtags option for configure to build binutils.
Now, Debian uses --enable-new-dtags option (at build time).

Dec 20 2018, 3:38 AM
gniibe set External Link to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859732 on T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:11 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:08 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:07 AM
gniibe updated the task description for T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:07 AM
gniibe renamed T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well) from Use uninstalled library, which is building now to Use uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 3:05 AM
gniibe created T4298: 'make check' with uninstalled library, which is building now (even if rpath doesn't work well).
Dec 20 2018, 2:51 AM

Dec 17 2018

werner closed T3982: libgcrypt.m4 is not multilib friendly, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, as Resolved.
Dec 17 2018, 9:57 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Dec 13 2018

gniibe closed T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, as Resolved.
Dec 13 2018, 3:38 PM · npth, libassuan, ntbtls, libgcrypt, libksba
werner claimed T4013: Certificate requests generated from Ed25519 keys are not compliant with draft-ietf-curdle-pkix.
Dec 13 2018, 9:38 AM · S/MIME, Feature Request, libksba

Oct 29 2018

gniibe changed the status of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config from Open to Testing.

New gpg-error.m4 detects gpgrt-config, too.
And configure supplies --libdir when it invokes gpgrt-config.
For other *.m4 (libassuan, ksba, libgcrypt, ntbtls), it is possible for them to check GPGRT_CONFIG to use gpgrt-config if any.
For npth.m4, it can do that too, with no hard dependency to libgpg-error.

Oct 29 2018, 5:57 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe changed the status of T4232: gpgrt-config Gentoo/Fedora/Arch/Slackware-style multilib support, a subtask of T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config, from Open to Testing.
Oct 29 2018, 5:50 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 26 2018

werner added a subtask for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config: T3982: libgcrypt.m4 is not multilib friendly.
Oct 26 2018, 12:44 PM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 25 2018

gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

A bit tricky, but this would be good to use gpgrt-config by gpg-error.m4.
I say "tricky", because its name is gpg-error.m4 but it configure GPGRT_CONFIG to access to GPG_ERROR_CONFIG.

Oct 25 2018, 8:33 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

It might be good idea to provide libgcrypt.pc in libgcrypt 1.8.x for forward compatibility with libgpg-error 1.33.

Oct 25 2018, 3:49 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

Well, I changed my mind. Use of new gpgrt-config requires software update to introduce gpgrt.m4 and update of configure.ac to switch gpgrt from gpg-error, in standard way.
That's too much this time. It's good to defer this change.

Oct 25 2018, 3:06 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

OK, I'll change to use gpgrt-config, along with requiring newer version of libgpg-error.

Oct 25 2018, 1:14 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 24 2018

werner added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

May I suggest to use a (new) gpgrt-config instead of the current name libgpg-error-config. The long term plan is to change the name of the library.

Oct 24 2018, 9:06 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe updated the task description for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:37 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe updated the task description for T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:33 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe added a comment to T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.

This is the dependency graph:

Oct 24 2018, 2:32 AM · npth, libassuan, ntbtls, libgcrypt, libksba
gniibe created T4217: {libksba,libgcrypt,ntbtls,libassuan,npth}.m4, {libksba,libgcrypt,ntbtls,libassuan}-config script and gpg-error-config.
Oct 24 2018, 2:15 AM · npth, libassuan, ntbtls, libgcrypt, libksba

Oct 23 2018

werner closed T4207: Copy & paste error in libksba cms.c as Resolved.

Thanks.

Oct 23 2018, 10:44 PM · libksba
werner closed T4213: Invalid test for certlist->signing_time in build_signed_data_attributes in cms.c as Resolved.

Thanks. That code is from 2001 and whne I changed to another time representaion in 2003 (due certs with 40 years expiration time) I missed to changed that condition.

Oct 23 2018, 10:39 PM · libksba
t8m created T4213: Invalid test for certlist->signing_time in build_signed_data_attributes in cms.c in the S1 Public space.
Oct 23 2018, 4:53 PM · libksba
t8m created T4207: Copy & paste error in libksba cms.c in the S1 Public space.
Oct 23 2018, 1:20 PM · libksba

Jun 8 2018

werner triaged T4013: Certificate requests generated from Ed25519 keys are not compliant with draft-ietf-curdle-pkix as Normal priority.

I was not aware that you could do this at all. You are right in that to start supporting this we first need to update libksba.

Jun 8 2018, 10:15 PM · S/MIME, Feature Request, libksba
gouttegd created T4013: Certificate requests generated from Ed25519 keys are not compliant with draft-ietf-curdle-pkix.
Jun 8 2018, 12:45 PM · S/MIME, Feature Request, libksba

Nov 23 2017

werner closed T3532: Some Build Warnings for libksba-1.3.5 on Ubuntu 17.10 as Resolved.

Please ignore them.

Nov 23 2017, 12:58 PM · libksba, Bug Report
utkonos created T3532: Some Build Warnings for libksba-1.3.5 on Ubuntu 17.10.
Nov 23 2017, 10:34 AM · libksba, Bug Report

Oct 21 2017

lumag added a watcher for libksba: lumag.
Oct 21 2017, 2:49 PM

Aug 15 2017

kai closed T3346: CMS parser test leaks memory as Resolved.

Fixed in a1d9b046aec8cedda16a9e24eb8d2ed021f68d5d

Aug 15 2017, 5:05 PM · libksba

Aug 14 2017

kai created T3346: CMS parser test leaks memory.
Aug 14 2017, 10:10 AM · libksba

Aug 9 2017

kai closed T3072: Missing fd reader implementation as Resolved.
Aug 9 2017, 6:00 PM · g10code Sprint, libksba

Jul 13 2017

werner added a comment to T2350: Reading uninitialized memory in libksba.

It is fine to close this. Reworking the parser is not going to happen anytime soon.

Jul 13 2017, 6:30 PM · In Progress, Bug Report, libksba
marcus closed T2350: Reading uninitialized memory in libksba as Resolved.

Because werner says he fixed the memory access, I am closing here. werner, if you want to keep track of the invalid encoding issue with the asn.1 parser, please open a new task with some details. pascal, if you find anything missing, please open new tickets (as you said, it's easier to keep track of issues in separate tickets).

Jul 13 2017, 4:36 PM · In Progress, Bug Report, libksba

Jun 28 2017

marcus merged T1561: configure: --with-libgpg-error-prefix doesn't impact includes into T1467: libksba's configure script reports "--with-libgpg-error-prefix", expects "--with-gpg-error-prefix".
Jun 28 2017, 5:11 PM · Bug Report, libksba

May 5 2017

kai updated the task description for T3072: Missing fd reader implementation.
May 5 2017, 6:12 PM · g10code Sprint, libksba

May 2 2017

marcus added a comment to T3072: Missing fd reader implementation.

Can you add a description?

May 2 2017, 10:07 AM · g10code Sprint, libksba

Apr 13 2017

kai edited projects for T3072: Missing fd reader implementation, added: g10code Sprint; removed g10code Sprint (KW 15).
Apr 13 2017, 7:56 PM · g10code Sprint, libksba

Apr 10 2017

kai claimed T3072: Missing fd reader implementation.
Apr 10 2017, 10:06 AM · g10code Sprint, libksba
kai created T3072: Missing fd reader implementation.
Apr 10 2017, 10:04 AM · g10code Sprint, libksba

Mar 30 2017

admin created libksba.
Mar 30 2017, 6:42 PM

Oct 14 2016

werner added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

Weel, required if you cange an .y file.

Oct 14 2016, 3:46 PM · Bug Report, libksba
werner closed T2753: Libksba requires a new version of byacc and does not check for it as Resolved.
Oct 14 2016, 3:46 PM · Bug Report, libksba
werner added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

Bison is required.
I pushed a change which prints a note if yacc is not Bison.

Oct 14 2016, 3:45 PM · Bug Report, libksba
werner reopened T2753: Libksba requires a new version of byacc and does not check for it as "Open".
Oct 14 2016, 3:45 PM · Bug Report, libksba
aheinecke added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

I was unaware that the released version does not require it.

In that case it's no bug imo. because otherwise we would also need to work with
older autotools versions etc.

Oct 14 2016, 3:01 PM · Bug Report, libksba
aheinecke closed T2753: Libksba requires a new version of byacc and does not check for it as Resolved.
Oct 14 2016, 3:01 PM · Bug Report, libksba
werner lowered the priority of T2753: Libksba requires a new version of byacc and does not check for it from Normal to Low.
Oct 14 2016, 2:58 PM · Bug Report, libksba
werner added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

Bison is a maintainer tool and regualr builds do not require it.
I am also surprised that you can build it with a regular(?) yacc.

Oct 14 2016, 2:58 PM · Bug Report, libksba

Oct 13 2016

aheinecke added a comment to T2753: Libksba requires a new version of byacc and does not check for it.

btw. reason for this report is a setup of WKS where you require most recent
modern gnupg on long time distro running servers.

Oct 13 2016, 7:38 PM · Bug Report, libksba
aheinecke added projects to T2753: Libksba requires a new version of byacc and does not check for it: libksba, Bug Report.
Oct 13 2016, 7:31 PM · Bug Report, libksba

Aug 23 2016

werner removed a project from T2415: result of fread() is assigned to an int variable: Unreleased.
Aug 23 2016, 4:35 PM · Bug Report, libksba

Aug 22 2016

werner closed T2415: result of fread() is assigned to an int variable as Resolved.
Aug 22 2016, 11:50 AM · Bug Report, libksba
werner added a project to T2415: result of fread() is assigned to an int variable: Unreleased.
Aug 22 2016, 11:50 AM · Bug Report, libksba
werner added a comment to T2415: result of fread() is assigned to an int variable.

You are right. Fixed with commit 68fba3d.

Aug 22 2016, 11:50 AM · Bug Report, libksba

Jul 11 2016

pascal_cuoq set Version to 1.3.4 on T2415: result of fread() is assigned to an int variable.
Jul 11 2016, 11:23 AM · Bug Report, libksba
pascal_cuoq added projects to T2415: result of fread() is assigned to an int variable: libksba, Bug Report.
Jul 11 2016, 11:23 AM · Bug Report, libksba

May 11 2016

werner added a project to T2350: Reading uninitialized memory in libksba: In Progress.
May 11 2016, 12:44 PM · In Progress, Bug Report, libksba
werner added a comment to T2350: Reading uninitialized memory in libksba.

commit 2a9fc56 fixes the access to uninitialized buffers. Given that GnuPG puts
all senstive data into a special memory area which is cleared before a free, I
don't see a problem with a possible data leak.

What is left is the problem that the parser does not always detect invalid
encodings. This can be improved but I am not anymore convinced about that table
driven parser.

May 11 2016, 12:44 PM · In Progress, Bug Report, libksba
werner added a comment to T2350: Reading uninitialized memory in libksba.

Thanks. I would actually prefer to handle this by mail because this makes
communication easier and faster. It would also be useful to known on what you
are working or plan to work on, so that we do not need to rush out releases
while there are other obvious things to fix.

May 11 2016, 10:58 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

Now I regret reporting so many different problems as a single ticket. Note that if possible
information leaks are the only thing we are concerned with, all the issues in this ticket can be
solved by systematically initializing dynamically allocated memory, so they have that in common.

This won't solve the problems that several inconsistent .crt files are in fact accepted as valid,
showing contents of the freshly initialized allocated memory in place of information that should have
come from the .crt file. I would much prefer fixing these logic errors individually so that use of
uninitialized memory can remain a useful symptom of other logic errors, but ultimately, this is your
choice to make.

May 11 2016, 3:28 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

May 11 2016, 3:10 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

Here is a fourth instance of use of uninitialized memory (uninitialized4.crt).

The tis-interpreter diagnostic is:

Certificate in `t.crt':

  serial....:

02

3A

83

  issuer....:

`CN=GeoTrust Global CA,O=GeoTrust Inc.,C=US'

  subject...:

`CN=Google Internet Authority G2,O=Google Inc,C=US'

  notBefore.:

2013-04-05 15:15:56

  notAfter..:

2016-12-31 23:59:59

  hash algo.: (null)

Extn: 2.5.29.35 at 517 with length 24

SubjectKeyIdentifier:

none
src/ber-help.c:213:[kernel] warning: accessing uninitialized left-value:

assert \initialized(buf);                  
stack: _ksba_ber_parse_tl :: src/cert.c:1836 <-
       _ksba_cert_get_auth_key_id :: src/visibility.c:280 <-
       ksba_cert_get_auth_key_id :: tests/cert-basic.c:190 <-
       list_extensions :: tests/cert-basic.c:546 <-
       one_file :: tests/cert-basic.c:593 <-
       main

src/ber-help.c:213:[kernel] warning: completely indeterminate value in mallocksba_malloc_l130_935 with offsets 4152 bits.

In order to make the use of uninitialized memory visible, apply the following patch:

~/instrumented/libksba-1.3.4$ diff -u src/ber-
ber-decoder.c ber-decoder.lo ber-dump ber-help.c ber-help.h ber-help.o
ber-decoder.h ber-decoder.o ber-dump.c ber-help.c~ ber-help.lo
pascal@TrustInSoft-Box-VII:~/instrumented/libksba-1.3.4$ diff -u src/ber-help.c{~,}

  • src/ber-help.c~ 2016-05-03 18:12:09.000000000 +0200

+++ src/ber-help.c 2016-05-11 03:04:34.361037076 +0200
@@ -210,7 +210,7 @@

/* Get the tag */
if (!length)
  return premature_eof (ti);
  • c = *buf++; length--;

+ c = *buf++; printf("|%02hhX|\n", c); length--;

   ti->buf[ti->nhdr++] = c;
   ti->class = (c & 0xc0) >> 6;

With the above instrumentation in place, the command "./tests/cert-basic uninitialized4.crt" shows:

Certificate in `uninitialized4.crt':

serial....: (#023A83#)
issuer....: `CN=GeoTrust Global CA,O=GeoTrust Inc.,C=US'
subject...: `CN=Google Internet Authority G2,O=Google Inc,C=US'
notBefore.: 2013-04-05 15:15:56
notAfter..: 2016-12-31 23:59:59
hash algo.: (null)

Extn: 2.5.29.35 at 517 with length 24
SubjectKeyIdentifier: none

30
3E

cert-basic.c:219: ksba_cert_get_auth_key_id: Invalid certificate object
KeyUsage: Not specified
ExtKeyUsages: none
CertificatePolicies: none
cert-basic.c:557: expected EOF but got: BER error

The line |3E| indicates access to uninitialized memory.

May 11 2016, 3:10 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

May 11 2016, 3:01 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

Here is a third instance, much like the second one. As the read from uninitialized memory happens in append_ucs2_value(),
the uninitialized memory is harder to recognize in the output.

tis-interpreter information:

Certificate in `t.crt':

  serial....:

02

3A

83
src/dn.c:522:[kernel] warning: accessing uninitialized left-value:

assert \initialized(tmp_1);
(tmp_1 from s++)
stack: append_ucs2_value :: src/dn.c:619 <-
       append_atv :: src/dn.c:667 <-
       dn_to_str :: src/dn.c:692 <-
       _ksba_dn_to_str :: src/cert.c:609 <-
       get_name :: src/cert.c:744 <-
       _ksba_cert_get_issuer :: src/visibility.c:190 <-
       ksba_cert_get_issuer :: tests/cert-basic.c:424 <-
       one_file :: tests/cert-basic.c:593 <-
       main

src/dn.c:522:[kernel] warning: completely indeterminate value in mallocksba_malloc_l130_935 with offset 1384 bits.

May 11 2016, 3:01 AM · In Progress, Bug Report, libksba
pascal_cuoq added a comment to T2350: Reading uninitialized memory in libksba.

May 11 2016, 2:48 AM · In Progress, Bug Report, libksba
pascal_cuoq added projects to T2350: Reading uninitialized memory in libksba: libksba, Bug Report.
May 11 2016, 2:48 AM · In Progress, Bug Report, libksba
pascal_cuoq set Version to 1.3.4 on T2350: Reading uninitialized memory in libksba.
May 11 2016, 2:48 AM · In Progress, Bug Report, libksba

May 3 2016

werner closed T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash as Resolved.
May 3 2016, 6:39 PM · Bug Report, libksba
werner added a comment to T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash.

1.3.4 has been released.

May 3 2016, 6:39 PM · Bug Report, libksba
werner removed a project from T2342: reading uninitialized memory in libksba/cert-basic, with subsequent crash: Restricted Project.
May 3 2016, 6:39 PM · Bug Report, libksba
werner added a comment to T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases.

1.3.4 has been released

May 3 2016, 6:39 PM · Bug Report, libksba
werner closed T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases as Resolved.
May 3 2016, 6:39 PM · Bug Report, libksba
werner removed a project from T2343: Function ksba_cert_get_digest_algo returns an uninitialized pointer in some error cases: Restricted Project.
May 3 2016, 6:39 PM · Bug Report, libksba