[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] NULL Pointer Derefrence in Emotion Library?

On Tue, 19 Sep 2006 00:41:25 +0530 "Test Drive" <testdrive6@gmail.com> babbled:

> Hi list,
> There is a possible bug in e17/libs/emotion/src/lib/emotion_smart.c:200
>         if (!sd->module->file_open(sd->file, obj, sd->video))
>           return;
> before this call sd->modules is always NULL. I was testing DVD player in 55
> lines example (http://www.enlightenment.org/docs/eflcookbook.html#id2473075).
> Either the example is missing some call which is required for initializing
> sd->module or it is bug in emotion_smart.c

yes - the module selection was added after the doc u wrote - thus it's missing
the load module X" code and thus having a NULL module.

> Thanks
> TD
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
Tokyo, Japan (東京 日本)