On Fri, 10 Sep 2010 at 20:51:01 +0400, Alexey I. Froloff wrote:
> This patch add ability to assing kyboard shortcut to docked
> appicons.


> +
> +Bool
> +addDockShortcut(char *shortcutDefinition, WAppIcon *icon)
> +{
> +     int modifier = 0;
> +     KeyCode keycode;
> +     KeySym ksym;
> +     char *k;
> +     char buf[128], *b;
> +
> +     strcpy(buf, shortcutDefinition);
> +     b = (char*)buf;

I guess that allows a buffer overflow attack with a especially-crafted
"shortcut", no?





-- 
To unsubscribe, send mail to [email protected].

Reply via email to