RtlCopyMemory 崩溃

	deviceExtension = (PDEVICE_EXTENSION)DeviceObject->DeviceExtension;

	deviceExtension->file_name.Length = openFileInformation->file_nameLength;
	deviceExtension->file_name.MaximumLength = openFileInformation->file_nameLength;
	deviceExtension->file_name.Buffer = (PCHAR)ExAllocatePool(NonPagedPool, openFileInformation->file_nameLength);

	RtlCopyMemory(
		deviceExtension->file_name.Buffer,
		openFileInformation->file_name,
		openFileInformation->file_nameLength
		);

  

posted on 2023-10-26 14:25  lydstory  阅读(24)  评论(0编辑  收藏  举报

导航