Password protected Mozilla NSS certificate database used to store server/client certificate. Password file provided to open the database without user interaction.
Possible reading of unallocated memory and considering its content to be a password, causing the connection to hang.
Patch applied to correctly allocate the memory for the password file.
The content of password file is read correctly, connection will not hang.