spawn: Don't try to spawn with empty argv (FS#1225)
When e.g. calling awesome.spawn({}), our argv array would be empty, so just a pointer to a NULL pointer that marks the end of the array. Since startup notification was enabled, this would then try to figure out the name of the started binary. This would immediately dereference a NULL pointer and crash. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
b965adc33f
commit
800a9a41f6
Loading…
Reference in New Issue