* dll_init.cc (dll_list::alloc): Fix buffer overrun (CID 59940).
This commit is contained in:
		| @@ -1,3 +1,7 @@ | ||||
| 2014-06-23  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* dll_init.cc (dll_list::alloc): Fix buffer overrun (CID 59940). | ||||
|  | ||||
| 2014-06-23  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* dcrt0.cc (insert_file): Fix resource leaks (CIDs 59987, 59988). | ||||
|   | ||||
| @@ -179,7 +179,7 @@ dll * | ||||
| dll_list::alloc (HINSTANCE h, per_process *p, dll_type type) | ||||
| { | ||||
|   WCHAR buf[NT_MAX_PATH]; | ||||
|   GetModuleFileNameW (h, buf, sizeof (buf)); | ||||
|   GetModuleFileNameW (h, buf, NT_MAX_PATH); | ||||
|   PWCHAR name = buf; | ||||
|   if (!wcsncmp (name, L"\\\\?\\", 4)) | ||||
|     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user