On Tue, Sep 18, 2018 at 12:51 PM, Ou Changkun <[email protected]>
wrote:

> Hi Mike,
>
> Thanks for your confirmation. I found some related case:
> https://stackoverflow.com/questions/13245312/calloc-fails-
> and-returns-null/13252245
>
> > calloc fails even there is enough memory.
>
> Perhaps may also occur in some restricted docker container runtime? Is it
> something should care about? Any visions?
>
>
Going through the code and making sure all malloc() / calloc() / realloc()
calls are properly checked for NULL, and making sure any of the guac_*()
functions which may return NULL are also similarly checked, would be a very
welcome change. Daunting, but welcome. ;)

There may be static analysis tools that can assist.

- Mike

Reply via email to