Index: base/services/schedsvc/job.c =================================================================== --- base/services/schedsvc/job.c (revision 74931) +++ base/services/schedsvc/job.c (working copy) @@ -179,7 +179,7 @@ LoadJobs(VOID) { SCHEDULE Schedule; - WCHAR szNameBuffer[32]; + WCHAR szNameBuffer[9]; DWORD dwNameLength, dwIndex, dwSize; HKEY hJobsKey = NULL, hJobKey = NULL; PJOB pJob = NULL; @@ -201,7 +201,7 @@ for (dwIndex = 0; dwIndex < 1000; dwIndex++) { - dwNameLength = 32; + dwNameLength = 9; lError = RegEnumKeyEx(hJobsKey, dwIndex, szNameBuffer,