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.