ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] Re: [PATCH] ratpoison segfaults when getting RP_COMMAND_REQUEST wit


From: Shawn Betts
Subject: [RP] Re: [PATCH] ratpoison segfaults when getting RP_COMMAND_REQUEST without RP_COMMAND.
Date: Sun, 26 Nov 2006 18:52:39 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix)

"Bernhard R. Link" <address@hidden> writes:

> * Shawn Betts <address@hidden> [061124 21:16]:
>> "Bernhard R. Link" <address@hidden> writes:
>> > When ratpoison gets a RP_COMMAND_REQUEST for a window without a
>> > RP_COMMAND, it segfaults, because ratpoison returns NULL instead
>> > of a cmdret structure. As cmdret_new is static in action.c, this
>> > needs one of:
>> Thanks for the patch. I decided to just make cmdret_new non-static.
>> If you have a way to test this, could you?
>
> Attached is a simple test-program that crashes an unpatched ratpoison
> and a new version of the patch with cmdret_new non-static.

Woops. Apparently I forgot to cvs commit my fix. I just did. Sorry to
make you write the same patch I did..

-Shawn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]