Re: [dev] [PATCH][RFC] bug: copy the command string in order to not sigsegv

2015-03-29 Thread Marc André Tanner
On Sat, Mar 28, 2015 at 04:54:13PM +0100, Silvan Jegen wrote: > When using the ZQ/ZZ keybindings we end up writing to a string literal > which results in a sigsegv. In order to avoid that we have to copy the > command name string. > > Signed-off-by: Silvan Jegen > --- > Heyhey > > With this solu

[dev] [PATCH][RFC] bug: copy the command string in order to not sigsegv

2015-03-28 Thread Silvan Jegen
When using the ZQ/ZZ keybindings we end up writing to a string literal which results in a sigsegv. In order to avoid that we have to copy the command name string. Signed-off-by: Silvan Jegen --- Heyhey With this solution to the problem we end up copying all command names which I do not like. A b