Dans son message intitulé « E SVN: cedric trunk/efl/src/lib/eet » du Tue, 1 Jan 2013 22:21:44 -0800, "Enlightenment SVN" <no-re...@enlightenment.org> nous a donné l'occasion de lire :
> Log: > efl: fix potential segv. > > > Author: cedric > Date: 2013-01-01 22:21:43 -0800 (Tue, 01 Jan 2013) > New Revision: 81972 > Trac: http://trac.enlightenment.org/e/changeset/81972 > > Modified: > trunk/efl/src/lib/eet/eet_lib.c > > Modified: trunk/efl/src/lib/eet/eet_lib.c > =================================================================== > --- trunk/efl/src/lib/eet/eet_lib.c 2013-01-02 05:30:06 UTC > (rev 81971) +++ trunk/efl/src/lib/eet/eet_lib.c 2013-01-02 > 06:21:43 UTC (rev 81972) @@ -1431,7 +1431,7 @@ > } > > ef = eet_cache_find(path, eet_readers, eet_readers_num); > - if (ef->readfp == file) goto done; > + if (ef && ef->readfp == file) goto done; > > /* Allocate struct for eet file and have it zero'd out */ > ef = eet_file_malloc(1); Love you! ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel