The LIST_IMPL macro expands to code which does not check for an overflow during the size calculation for malloc and realloc. malloc and realloc failures are not checked properly.
Thanks for reporting this issue, I've implemented it in upstream, see following commits: http://git.fedorahosted.org/cgit/cura-networking.git/commit/?id=f37ab2dff7983bdb5f675f20b62db7e0e1db6174 http://git.fedorahosted.org/cgit/cura-networking.git/commit/?id=c739a24f7264ba053ef9617a222d164a116298f9