Ooopssie :( Thanks for the fix mate ;)
dh On 08/02/13 03:35, Enlightenment SVN wrote: > Log: > devilhorns: ummmm lets not segv and run allover the stack shall we? memset the > size of memory we ALLOCATED! > > > > Author: raster > Date: 2013-02-07 19:35:11 -0800 (Thu, 07 Feb 2013) > New Revision: 83757 > Trac: http://trac.enlightenment.org/e/changeset/83757 > > Modified: > trunk/efl/src/lib/ecore_x/xlib/ecore_x_randr.c > > Modified: trunk/efl/src/lib/ecore_x/xlib/ecore_x_randr.c > =================================================================== > --- trunk/efl/src/lib/ecore_x/xlib/ecore_x_randr.c 2013-02-08 01:43:51 UTC > (rev 83756) > +++ trunk/efl/src/lib/ecore_x/xlib/ecore_x_randr.c 2013-02-08 03:35:11 UTC > (rev 83757) > @@ -2307,7 +2307,7 @@ > int nw = 0, nh = 0; > > info = alloca(ncrtc * sizeof(XRRCrtcInfo *)); > - memset(info, 0, ncrtc * sizeof(XRRCrtcInfo)); > + memset(info, 0, ncrtc * sizeof(XRRCrtcInfo *)); > > ecore_x_randr_screen_size_range_get(root, NULL, NULL, &mw, &mh); > ecore_x_randr_screen_current_size_get(root, &sw, &sh, NULL, NULL); > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel