]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-passwd/config.c
Import unprotected strtok fix from -devel. Yes, you have to edit 8 files
[openldap] / servers / slapd / back-passwd / config.c
index 5e9bf853a344eab4d8df8e075e687feabab61c27..3ed61fa9e73045f9abdcab854d8db1283ad468f9 100644 (file)
@@ -28,7 +28,7 @@ passwd_back_config(
                            fname, lineno );
                        exit( 1 );
                }
-               be->be_private = strdup( argv[1] );
+               be->be_private = ch_strdup( argv[1] );
 #else /* HAVE_SETPWFILE */
                fprintf( stderr,
     "%s: line %d: ignoring \"file\" option (not supported on this platform)\n",