Alessandro Pignotti <a.pigno...@sssup.it> writes:

> Hi everyone,
>
> I've found two different games:
>
> -) Of orcs and men
> -) The testament of sherlock holmes
>
> which are using a protection scheme which reset the GS segment selector,
> possibly to confuse virtual machines. Since on linux the GS selector is
> used internally by glibc the game would crash as soon as a native glibc
> method is called by wine. The proposed patch tries to workaround this
> problem by restoring the GS to a known working value in wine's SEGFAULS
> handler and try the instruction again.

This should be done similarly to the other checks in raise_segv_exception.

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to