After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665508 - Do not crash when reading a seemingly valid but truncated keyring file
Do not crash when reading a seemingly valid but truncated keyring file
Status: RESOLVED DUPLICATE of bug 665510
Product: gnome-keyring
Classification: Core
Component: keyring files
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-12-03 17:34 UTC by Steve Frécinaux
Modified: 2011-12-19 08:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve Frécinaux 2011-12-03 17:34:49 UTC
Following the discussion I had on IRC with stefw because my login keyring didn't work anymore, we found out the keyring daemon was crashing because the login.keyring file had been truncated for some unknown reason.

This patch fixes the crash by checking the length of the file first.
Comment 1 Stef Walter 2011-12-19 08:40:07 UTC

*** This bug has been marked as a duplicate of bug 665510 ***