Re: [PATCH] smime segfault on empty keys/.index file

2010-09-13 Thread Remco Rijnders
On Sun, Sep 12, 2010 at 10:43:22AM -0700, Michael Elkins wrote: > >While trying to resolve my struggle with adding a S/MIME key to my account > >(see post on mutt-users) and by manually tinkering with files, I got mutt > >to segfault repeatedly. > > > >The attached (tiny) patch should prevent this

Re: [PATCH] smime segfault on empty keys/.index file

2010-09-12 Thread Michael Elkins
On Sun, Sep 12, 2010 at 07:29:17AM +0200, Remco Rijnders wrote: While trying to resolve my struggle with adding a S/MIME key to my account (see post on mutt-users) and by manually tinkering with files, I got mutt to segfault repeatedly. The attached (tiny) patch should prevent this from happenin

[PATCH] smime segfault on empty keys/.index file

2010-09-11 Thread Remco Rijnders
Dear all, While trying to resolve my struggle with adding a S/MIME key to my account (see post on mutt-users) and by manually tinkering with files, I got mutt to segfault repeatedly. The attached (tiny) patch should prevent this from happening when the .smime/keys/.index file exists but is empty.