The Samba-Bugzilla – Attachment 2132 Details for
Bug 4063
strptime() called in ldap_get_entry_timestamp() badly converts ldap timestamps causing SMBD to abnormally end at startup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
strptime return code not handled correctly.
23c-strptime-patch.txt (text/plain), 546 bytes, created by
William Jojo
on 2006-09-08 11:34:11 UTC
(
hide
)
Description:
strptime return code not handled correctly.
Filename:
MIME Type:
Creator:
William Jojo
Created:
2006-09-08 11:34:11 UTC
Size:
546 bytes
patch
obsolete
>--- passdb/pdb_ldap.c.orig 2006-09-08 11:59:52.000000000 -0400 >+++ passdb/pdb_ldap.c 2006-09-08 11:53:40.000000000 -0400 >@@ -455,7 +455,11 @@ > temp)) > return (time_t) 0; > >- strptime(temp, "%Y%m%d%H%M%SZ", &tm); >+ if ( !strptime(temp, "%Y%m%d%H%M%SZ", &tm)) { >+ DEBUG(0,("ldapsam_get_entry_timestamp: strptime failed on: %s\n", >+ (char*)temp)); >+ return (time_t) 0; >+ } > tzset(); > return timegm(&tm); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4063
:
2132
|
2332
|
2333
|
2334
|
2335
|
2336
|
2337