Re: [dev] Re: [st] [PATCH] Avoid buffer overflows in the case of key-mapped strings.

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Tue, 15 Oct 2013 11:37:34 +0200

> There is a compile time boundary
> check on the number of tags in dwm.
> Still, considering sl software is targeted at elite users
> it's not necessary IMO.
>

Ok, after reading the opinion of other developers I think we should
avoid the comparision. And I don't agree it is difficult catch this error,
it will cause a segmentation fault each time the key is pressed, so you
only have to attach and debugger and look the stack trace. It will
take only 2 minutes of your life fix the problem.


Best regards,

-- 
Roberto E. Vargas Caballero
_______________________________________________________________________
'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'
(Doug McIlroy)
In Other Words - Don't design like polkit or systemd
_______________________________________________________________________
Received on Tue Oct 15 2013 - 11:37:34 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 15 2013 - 11:48:07 CEST