This would be the win32k 0 day that's been blogged and unfixed in Windows for over 4 years now, and which allows the Surface RT to be jailbroken. You really want to fix this? :( What about hackcompat?!

Best regards,
Alex Ionescu

On Sun, Feb 8, 2015 at 12:37 AM, Thomas Faber <thomas.faber@reactos.org> wrote:
On 2015-02-07 16:26, hbelusca@svn.reactos.org wrote:
> @@ -792,24 +791,54 @@
>          case UserThreadInitiateShutdown:
>          {
>              ERR("Shutdown initiated\n");
> -            STUB;
> -            Status = STATUS_NOT_IMPLEMENTED;
> +
> +            if (ThreadInformationLength != sizeof(ULONG))
> +            {
> +                Status = STATUS_INFO_LENGTH_MISMATCH;
> +                break;
> +            }
> +
> +            Status = UserInitiateShutdown(Thread, (PULONG)ThreadInformation);
>              break;
>          }

This looks like contrary to the other cases, ThreadInformation is
neither probed, nor accessed inside SEH here?

_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev