I think EFL is younger than them and we still have a chance to avoid crashing.

Daniel Juyung Seo (SeoZ)

On Wed, Sep 5, 2012 at 10:39 PM, Tom Hacohen <tom.haco...@samsung.com> wrote:
> On 05/09/12 16:26, Daniel Willmann wrote:
>> Hi,
>>
>> On 09/05/2012 02:12 PM, Tom Hacohen wrote:
>>> free, strlen and strcpy are just a few of the many examples that don't
>>> accept NULL. Having sanity checks everywhere is not "safer", it just
>>
>> I agree with most things you said, just one note from the free() man
>> page: "Otherwise, or if free(ptr) has already been called before,
>> undefined behavior occurs.  If ptr is NULL, no operation is performed."
>>
>
> Yes, gnu libc implements it that way because of bullet #3 I mentioned
> before, but it's not the same with old gnu libc implementations or with
> other libc implementations. I think the standard (at least c89) has
> undefined behaviour regarding NULL, but about that I'm not 100% sure.
>
> --
> Tom.
>
>
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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