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: Bernhard R. Link
Subject: [RP] Re: [PATCH] ratpoison segfaults when getting RP_COMMAND_REQUEST without RP_COMMAND.
Date: Sat, 25 Nov 2006 16:38:58 +0100
User-agent: Mutt/1.5.9i

* 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.

Hochachtungsvoll,
        Bernhard R. Link

P.S: wow, the list has currently some interesting mail routing:

Received: from lists.gnu.org [...] Fri, 24 Nov 2006 21:16:30 +0100
[...]
Received: [...] by mx20.gnu.org [...] Thu, 23 Nov 2006 20:40:49 -0500

Attachment: test.c
Description: Text Data

Attachment: nosegfault2.diff
Description: Text document


reply via email to

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