Re: [PATCH] Don't segfault on NULL tty.path

2015-04-29 Thread Thomas Adam
On Wed, Apr 29, 2015 at 12:06:42AM +0100, Nicholas Marriott wrote: > Actually I think I already fixed this? Yes, I think you rolled this into a larger fix for something else. It doesn't crash for me anymore. Cheers, -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart

Re: [PATCH] Don't segfault on NULL tty.path

2015-04-28 Thread Nicholas Marriott
Actually I think I already fixed this? On Tue, Apr 28, 2015 at 04:58:51PM +0100, Thomas Adam wrote: > When checking a client's tty path, don't segfault if it's NULL. > --- > cmd-find.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/cmd-find.c b/cmd-find.c > index fab3849..3ac9936 100

Re: [PATCH] Don't segfault on NULL tty.path

2015-04-28 Thread Nicholas Marriott
I don't think we should enter this function at all in that case, or perhaps just not do the loop Original message From: Thomas Adam Date:28/04/2015 16:58 (GMT+00:00) To: tmux-users@lists.sourceforge.net Cc: Thomas Adam Subject: [PATCH] Don't segfault on NUL

[PATCH] Don't segfault on NULL tty.path

2015-04-28 Thread Thomas Adam
When checking a client's tty path, don't segfault if it's NULL. --- cmd-find.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd-find.c b/cmd-find.c index fab3849..3ac9936 100644 --- a/cmd-find.c +++ b/cmd-find.c @@ -243,6 +243,8 @@ cmd_find_current_session_with_client(struct cmd_find_stat