Comment 67 for bug 41179

Revision history for this message
In , Leo-vonklenze (leo-vonklenze) wrote :

Created an attachment (id=432158)
Patch for GnomeKeyring.cpp and Makefile

Hello,

I found a bug in GnomeKeyring.cpp. The following line is wrong
   const char* tempHostname = NS_ConvertUTF16toUTF8(s).get();
because the NS_ConvertUTF16toUTF8 object is destroyed just after this statement. That causes the pointer tempHostname to be invalid. In some cases the memory of this pointer was overidden by subsequent calls before the value was stored in the attribute list.

The changes in install.rdf just enable the extension for thunderbird and newer firefox version which works great on my machine.

Hope this helps,
 Leo