[Date Prev][Date Next]
(ITS#7291) [PATCH] MozNSS: read pin from file file can cause infinite loop
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#7291) [PATCH] MozNSS: read pin from file file can cause infinite loop
- From: email@example.com
- Date: Wed, 6 Jun 2012 12:58:30 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Jan Vcelak
Version: git master
Submission from: (NULL) (184.108.40.206)
The buffer allocated for reading password (pin) file has to be initialized with
zeros, or we need to append zero at the end of the file. Otherwise we might read
initialized memory and consider it to be a password. In this situation, all
incoming TLS connections can hang.
Attached patch fixes this bug.
The attached file is derived from OpenLDAP Software. All of the modifications to
OpenLDAP Software represented in the following patch(es) were developed by Red
Hat. Red Hat has not assigned rights and/or interest in this work to any party.
I, Jan Vcelak am authorized by Red Hat, my employer, to release this work under
the following terms.
Red Hat hereby place the following modifications to OpenLDAP Software (and only
these modifications) into the public domain. Hence, these modifications may be
freely used and/or redistributed for any purpose with or without attribution
and/or other notice.