How do I reproduce the crash?

-------- Original message --------
From: Felix Rosencrantz <f.rosencra...@gmail.com> 
Date: 16/02/2014  09:22  (GMT+00:00) 
To: tmux-users@lists.sourceforge.net 
Subject: Bug in cmd-set-option.c 
 
In the latest version of 
http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/cmd-set-option.c

Around line 308, the code looks like:
        case OPTIONS_TABLE_COLOUR:
                o = cmd_set_option_colour(self, cmdq, oe, oo, value);
                style_update_new(oo, o->name, oe->style);
                break;


The cmd_set_option_colour() function can return NULL, which causes problems in 
the next line when o is dereferenced to get name (o->name).  This has caused 
tmux to crash for me.  There are similar issues in this case statement/file.

-FR.
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to