Hi Emeric,

> I noticed that a lot of malloc calls are not checked in the code (may return 
> NULL).

Yes, generally we don't check the return value.

> What is your policy on this behavior?

If malloc() fails you have a serious problem anyway.  Handling this
gracefully is often not really possible so we don't even attempt it.

Regards,
Tobias

_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to