On Tue, 21 Aug 2012 18:01:05 +0200 rustyBSD <rusty...@gmx.fr> said:

> Hi,
> == e/src/modules/illume-keyboard/e_kbd_int.c ==
> line 972:   if (sscanf(buf, "%4000s", str) != 1) continue;
> 
> str is declared like this: char str[PATH_MAX];
> 
> Here, if PATH_MAX is < 4000, it could overflow.
> On my bsd, PATH_MAX is 1024, and I get a
> warning.
> 
> Idem at line 1015 and 1030.

your PATH_MAX is only 1024? wow... quite a lot more limiting than i expect from
a modern OS... interesting.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to