[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#6092) correct string problem in guess_service_principal()
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#6092) correct string problem in guess_service_principal()
- From: mikbec@web.de
- Date: Mon, 4 May 2009 19:14:46 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Mike Becher
Version: HEAD of 2.4
OS: Linux
URL: ftp://ftp.openldap.org/incoming/mike-becher-090504.libraries-libldap-gssapi.2.patch
Submission from: (NULL) (84.150.168.64)
patch file name: mike-becher-090504.libraries-libldap-gssapi.2.patch
patch subject: correct string problem in guess_service_principal()
patch description:
When GSSAPI option GSSAPI_ALLOW_REMOTE_PRINCIPAL is switched on then
string provided by "givenstr" will be used as principal name. But
length of string counted in "svc_principal_size" is one letter to
less.
This patch corrects this problem, allocates memory for one more
character to get space for '\0' and sets it.