On Wed, 01 Aug 2012 06:03:54 +0200 rustyBSD <rusty...@gmx.fr> said: tanks! though realistically.. if these mallocs fail, we are in deep trouble. we are so low on memory we likely cant render anymore or do much useful anymore except crash or exit. with these small mallocs at any rate. but the string append ones could build really big strings. thats a no-no to crash there. fixed in svn.
> Hi, > > == e/src/bin/e_fm.c == > line 9261 - _e_fm_retry_abort_dialog(int pid, const char *str) > There is no check if malloc() fails. Should add "if (!id) return NULL;" > after "id = malloc(sizeof(int));". It avoids null pointer dereference. > > Same problem in > _e_fm_overwrite_dialog(int pid, const char *str) > _e_fm_error_dialog(int pid, const char *str) > _e_fm_string_append_char(char *str, size_t *size, size_t *len, char c) > _e_fm2_typebuf_complete(Evas_Object *obj) > > Maxime > ------------------------------------------------------------------------------ > 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 > -- ------------- 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