Bug#1082629: gnome-keyring: "gnome-keyring import /dev/null" aborts with warning about double-free

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Sep 23 17:42:47 BST 2024


Package: gnome-keyring
Version: 46.2-1
Severity: normal

I don't expect "gnome-keyring import /dev/null" to succeed (there's
nothing to import in /dev/null) but i am surprised to see that it
appears to cause a double free:

```
0 dkg at bob:~$ gnome-keyring import /dev/null 
gnome-keyring: couldn't parse: /dev/null: couldn't parse: /dev/null
free(): double free detected in tcache 2
Aborted
134 dkg at bob:~$
```

I would expect instead a clean failure, rather than an abort based on a
double-free.

        --dkg

-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.9-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-keyring depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.14.10-4+b1
ii  dconf-gsettings-backend [gsettings-backend]   0.40.0-4+b2
ii  gcr                                           3.41.2-1+b1
ii  init-system-helpers                           1.66
ii  libc6                                         2.40-2
ii  libgck-1-0                                    3.41.2-1+b1
ii  libgcr-base-3-1                               3.41.2-1+b1
ii  libgcrypt20                                   1.11.0-6
ii  libglib2.0-0t64                               2.82.0-1
ii  libsystemd0                                   256.6-1
ii  p11-kit                                       0.25.5-2
ii  pinentry-gnome3                               1.2.1-4+b1

Versions of packages gnome-keyring recommends:
pn  gnome-keyring-pkcs11  <none>
pn  libpam-gnome-keyring  <none>

gnome-keyring suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 324 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20240923/521b5818/attachment.sig>


More information about the pkg-gnome-maintainers mailing list